L6 Conditions and Looping
L6 Conditions and Looping
Lecture 6
• Will see the if, while and for statements and associated else, elif, range,
break and continue commands
var = 1
while var == 1 : # This constructs an infinite loop
num = raw_input("Enter a number :")
print "You entered: ", num
Thank You