0

How FIX à EOF when reading the line error please

So , imagine i have two input like this : Age = int(input()) Name = str(input()) Error=eof when reading the line. How can i fix it ?please show me an exemple...

22nd Jun 2022, 1:44 AM
Sese Dylan
2 odpowiedzi
0
Supply all the inputs at once. When prompted, enter both inputs: 25<enter> Bertha<submit>
22nd Jun 2022, 2:12 AM
Brian
Brian - avatar
0
This chapter shall provide you a hint on how to "catch" an exception (like EOFError). https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2441/?ref=app P.S. Please add Python inside your post's tags for improved language context clarity.
22nd Jun 2022, 5:09 AM
Ipang