-3
name = input('Hey what is your name?: ')
print('nice to meet you ',name)

Whenever I try to run this I receive the following error :

"EOF when reading a line".

Could anyone help me with this?

DjaouadNM
  • 22,013
  • 4
  • 33
  • 55
Veritox
  • 11
  • 2

1 Answers1

-1

Just a guess: you need to run this in a terminal (it does work when run like this). I am thinking that your code does not have any chance to get any input (hence the End Of File warning).

Eric O. Lebigot
  • 91,433
  • 48
  • 218
  • 260