+ 1

Urgent please,why is this code not working?

I developed the Ai bot with PYTHON that can help me store and tell me my subjects for the day according to my input,but when I use the input method it does not output a thing. Please I need my pro to fix it for me. https://code.sololearn.com/ciAKv7bGJi1s/?ref=app

29th Apr 2021, 10:11 AM
E∆SI🇳🇬🤖
E∆SI🇳🇬🤖 - avatar
6 Answers
+ 2
Aside from that it's not an AI, you need to convert the input() to int and remove one space before the else statement.
29th Apr 2021, 10:41 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 2
First error is in 2nd line. Make the the input int: day_input = input() day_input = int(input()) Second error is in line 27, remove a space before the else statement.
29th Apr 2021, 3:18 PM
Scarlet Witch
Scarlet Witch - avatar
+ 2
E∆SI 🇳🇬 save your code after changes, we will then tell you what's the error.
30th Apr 2021, 1:46 PM
Scarlet Witch
Scarlet Witch - avatar
+ 1
Ok, CarrieForle Thanks
30th Apr 2021, 8:17 AM
E∆SI🇳🇬🤖
E∆SI🇳🇬🤖 - avatar
+ 1
30th Apr 2021, 8:17 AM
E∆SI🇳🇬🤖
E∆SI🇳🇬🤖 - avatar
+ 1
Scarlet Witch CarrieForle I did it,but seems the else statement is still outputting error even when I removed a space before it. Thanks
30th Apr 2021, 10:32 AM
E∆SI🇳🇬🤖
E∆SI🇳🇬🤖 - avatar