Class Name: Python Programming and Mongo DB - Online Course
Class Session: Loops
Total Questions: 3 | Duration: 5 Mins
1) What is the output of the following? i = 1 while True: if i%007 == 0: break print(i) i += 1
2) while writing a code, if we haven't decided what to do yet, we use:
3) What is the output of the following? x = "abcdef" i = "a" while i in x[1:]: print(i, end = " ")