Python Foundation | Loops Question 13

Last Updated :
Discuss
Comments

What is the output of the following code?

while True:

   print(“Geeks!”)

   break;

Geeks!

“Geeks!”

‘Geeks!’

Geeks!

Geeks!

Geeks!

(Repeated infinite times)

Share your thoughts in the comments