Predict the output from the given statements i) range(50,-10,-5) in Python.
Answers
Answered by
3
Answer:
For Loops
Introduction
Ring as a Symbol of the for loop Like the while loop the for loop is a programming language statement, i.e. an iteration statement, which allows a code block to be repeated a certain number of times.
There are hardly programming languages without for loops, but the for loop exists in many different flavours, i.e. both the syntax and the semantics differs from one programming language to another.
Similar questions