Question #137355

Print i as long as i is less than 6.

Expert's answer

#create a while loop that will print i as long as it is less than 6
i=1
while i<6 : 
  print(i) 
  i+=1

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS