0
Why doesn't this code print anything? Is it because the condition is not given? Or because it says while False?
while False: print("Looping...")
3 Réponses
+ 4
The statements inside the while block will run, as long as the condition is true.
False is never True so it won't even run once.
0
Thanks!