Page 1 of 1

What will be a boolean in the following Python code? i = 2. while True: if i%3 break print(i) i += 2 break print(i) i%3

Posted: Sun May 15, 2022 8:19 am
by answerhappygod
What Will Be A Boolean In The Following Python Code I 2 While True If I 3 Break Print I I 2 Break Print I I 3 1
What Will Be A Boolean In The Following Python Code I 2 While True If I 3 Break Print I I 2 Break Print I I 3 1 (38.51 KiB) Viewed 65 times
What will be a boolean in the following Python code? i = 2. while True: if i%3 break print(i) i += 2 break print(i) i%3 == 0 O i = 2