+ 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
2 Respostas
+ 3
Try input 2 lines
eg.
line1
line2
+ 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.