+ 3

Hey guys I'm getting Eof error how do i resolve this

https://code.sololearn.com/c4dOpxibjl4r/?ref=app

21st Nov 2018, 7:38 PM
Tochukwu Udeozor
Tochukwu Udeozor - avatar
12 odpowiedzi
+ 8
https://code.sololearn.com/cIwxRMkkNfeE/#py i fixed you code so that there should be no errors. just make sure you do you input like this longtie DT heres a code to help you understand it https://code.sololearn.com/WhiNb9BkJUVC/#html
21st Nov 2018, 8:30 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 5
SoloLearn allows you only one input :/ The other will be 'ignored'
21st Nov 2018, 8:17 PM
Proff
Proff - avatar
+ 4
You can’t ask multiple inputs.
21st Nov 2018, 8:17 PM
Toni Isotalo
Toni Isotalo - avatar
+ 4
oh i understand now,guess the problem is from sololearn ide...thanks
21st Nov 2018, 8:38 PM
Tochukwu Udeozor
Tochukwu Udeozor - avatar
+ 3
User_name, user_task=input(). split() You don't need to convert it to string or add new line it is all by default Split will return you a list Input name and task with a space between them Also correct indentations on 14 th line
21st Nov 2018, 8:26 PM
Ash
0
yes...i think
21st Nov 2018, 7:52 PM
Tochukwu Udeozor
Tochukwu Udeozor - avatar
0
yes i did,on different lines
21st Nov 2018, 7:55 PM
Tochukwu Udeozor
Tochukwu Udeozor - avatar
0
I think there is an indentation issue on 14th line where you print datetime shift it and see
21st Nov 2018, 7:55 PM
Ash
0
Ash if i do doesnt print date and time
21st Nov 2018, 8:02 PM
Tochukwu Udeozor
Tochukwu Udeozor - avatar
0
You are taking multiple inputs on different lines You need to use split method
21st Nov 2018, 8:18 PM
Ash
0
Ash how to use split method?
21st Nov 2018, 8:19 PM
Tochukwu Udeozor
Tochukwu Udeozor - avatar
0
Julien Quentin try inputting only name without choosing any task
21st Nov 2018, 8:26 PM
Tochukwu Udeozor
Tochukwu Udeozor - avatar