Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
What are inputs you are giving? EOF error occurs here when you don't provide input.. Run code by inputs for sample : 50 1 It works.. edit : may you trying like this: num=4 while True: a=input() num*=int(a) print(num) if num>50: break print("over") input: ex: 2 2 2 2
8th Nov 2021, 1:41 PM
Jayakrishna 🇮🇳