+ 1
22nd Oct 2018, 4:36 PM
Ilyich
10 odpowiedzi
+ 3
Roneel I don't think that's what Ilyich did. The problem was probably with copy-pasting the whole code in python terminal and then trying to run it by pressing enter.
22nd Oct 2018, 8:33 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 3
I don't see any problem. I am mentioning Anna and Kishalaya Saha. they are among the best python coders here and should be active now. something I didn't understand shouldn't be A-Z returning false? oh there's space.
22nd Oct 2018, 7:23 PM
Roneel
Roneel - avatar
+ 3
Did you copy and paste the code into IDLE? If so, try to enter or copy and paste it line by line, not several lines at once Roneel Thank you 😊
22nd Oct 2018, 7:32 PM
Anna
Anna - avatar
+ 3
Ilyich You have writed (eg copy paste) in interpreted mode? If yes, python cant compile multiple line in one statement
22nd Oct 2018, 8:29 PM
KrOW
KrOW - avatar
+ 2
Right now I don't have access to an offline interpreter, but the code looks fine to me too! And Roneel, I'm terrible at regex. Anna and Mert are the real experts :) Edit: Ilyich , were you doing it from the shell? In that case what Anna said makes perfect sense. You need to execute them one statement at a time. Or, if you save your code as a .py file and then run it, things should be fine.
22nd Oct 2018, 7:45 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 2
just input line by line🤔
22nd Oct 2018, 10:29 PM
Flandre Scarlet
Flandre Scarlet - avatar
+ 1
Can compiler give custom errors? I tried to remove space but it only showed syntax error: invalid syntax unlike him.
22nd Oct 2018, 7:51 PM
Roneel
Roneel - avatar
22nd Oct 2018, 8:10 PM
Roneel
Roneel - avatar
0
what is python version of your idle? if you don't know, 😃 import sys print(sys.version)
22nd Oct 2018, 6:28 PM
Roneel
Roneel - avatar
0
Roneel - 3.6.4
22nd Oct 2018, 7:18 PM
Ilyich