Why input() fails in online compilers (EOFError) and how to fix it
You write name = input() and print("hi", name), press Run, and get EOFError: EOF when reading a line. Your Python syntax is fine. The problem is that your program asked for a line of input, and there