Give an example of continue statement in python.
Answers
Answered by
0
Answer:
Explanation:
#!/usr/bin/python for letter in 'Python': # First Example if letter == 'h': continue print 'Current Letter :', letter var = 10 # Second Example while var > 0: var = var -1 if var == 5: continue print 'Current variable value :', var print "Good bye!"
pls follow me
Similar questions