+ 1

I'm not sure why is there error... thanks for help

s2 = input(" Hi, this is sira an intelligent domestic robo...") print(s2) s1 = input(" Hi, how are you?\n I'm fine, thank you. How is work ?\n Yea it's good, thanks") print (s1) Hi, this is sira an intelligent domestic robo... Hi, how are you? I'm fine, thank you. How is work ? Yea it's good, thanks Traceback (most recent call last): File "..\Playground\", line 5, in <module> s1 = input("Hi , how are you?\n I'm fine, thank you. How is work ?\n Yea it's good, thanks") EOFError: EOF when reading a line

12th Apr 2018, 7:36 AM
Bitcracker
Bitcracker - avatar
2 Respostas
+ 3
Try input 2 lines eg. line1 line2
12th Apr 2018, 7:45 AM
Calviղ
Calviղ - avatar
+ 1
s1 = (" Hi, this is sira an intelligent domestic robo...") s2 = (" Hi, how are you?\n I\'m fine, thank you. How is work ?\n Yea it\'s good, thanks") print(s2) Hi, how are you? I'm fine, thank you. How is work ? Yea it's good, thanks Now it's working without error, thanks.
12th Apr 2018, 7:59 AM
Bitcracker
Bitcracker - avatar