Unexpected EOF while parsing reported an error

topic description

enter a number n as the qualification standard, and then enter a series of numbers, each time you enter a line break, the empty line wrap ends, and the qualified rate is output.
pass rate refers to the ratio of qualified elements to all elements in the input element.

topic source

from the python123.io website

related codes

/ / Please paste the code text below (do not replace the code with pictures)

n=eval(input())
List=[]
i=input()
while i !="":
    List.append(eval(i))
    i=input()
count=0
for i in List:
    if i >=n:
        count+=1
if len(List)==0:
    print("100.00%")
else:
    x=count/len(List)*100
    print("{:.2f}%".format(x))

error message

clipboard.png

want to know how to correct this error in order to avoid the current error report

Jun.11,2021
There is nothing wrong with the

code. How do you type it?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3af6c-2af9b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3af6c-2af9b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?