Question:
Example of While loop with num:
Author: Jessica RuvalcabaAnswer:
# WHILE construct num = 11 while num > 0: ----num -=1 ---- if num % 4 == 0: ------- #skip 0 and multiples of 4 ------- print("skip multiples of 4") continue -----print(num) -----print("looping's over")
0 / 5 Â (0 ratings)
1 answer(s) in total