+ 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
6 Réponses
+ 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.
+ 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.
+ 2
E∆SI 🇳🇬 save your code after changes, we will then tell you what's the error.
+ 1
Ok, CarrieForle
Thanks
+ 1
Thanks
Scarlet Witch
+ 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