0
Question
So guys I tried the python magic eight ball and I don’t understand why it’s not working
3 odpowiedzi
+ 1
Insufficient information
Pls add more info.. Where is the code?
Edit :
OK. Add code link here, or mention code link details..
If you are asking about your 1st code, then
Claudine lngabire
raw_input() function works in python2 or less but in python 3 and above use
input() function to read data..
2nd elif is missing colon.
+ 2
Claudine lngabire after elif answer==2 your code need ":"
+ 1
Also input() not raw_input() ,raw_input() is used in python 2