0

EOF when reading a line

When I tried this code in the PC's compiler it worked But it gives an error when I tried to make a Code bit https://sololearn.com/compiler-playground/cTGWeiwk0tLC/?ref=app

27th Apr 2024, 12:57 PM
FREEZO ⚓
FREEZO       ⚓ - avatar
2 Antworten
+ 3
The playground is not interactive, and expecting ALL the inputs at once. Also, your code runs into an infinite loop because variable "exec" is always True.
27th Apr 2024, 1:10 PM
Wong Hei Ming
Wong Hei Ming - avatar
0
Thanks!
27th Apr 2024, 1:13 PM
FREEZO ⚓
FREEZO       ⚓ - avatar