Has python had a wierd new update??? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Has python had a wierd new update???

I can't get my code to work, and it says invalid syntax though I know I used correct.

15th Mar 2018, 11:11 PM
Erik Umble
Erik Umble - avatar
6 Réponses
+ 3
92: for j in pla: > Invalid syntax, with the ^ pointing to the colon after "pla" Python got this far before realizing that something was wrong. You can look at this as...it's not accepting the colon, so it's not expecting it. Backtrack...You're missing the end paren from line 89: words.append(composer(pla[0],(len(pla),True)) Put your cursor at the opening parenthesis of append( and the symbol will turn red.
16th Mar 2018, 3:47 AM
Kirk Schafer
Kirk Schafer - avatar
+ 10
No, codeplayground is fine for sure, you make some mistake probably...
16th Mar 2018, 2:48 AM
Vukan
Vukan - avatar
+ 3
https://code.sololearn.com/cEX71StLRDLv/?ref=app I'm working on a number to word challenge, and keep getting weird errors
15th Mar 2018, 11:19 PM
Erik Umble
Erik Umble - avatar
+ 3
@kirk schafer i had a question postsd in your..ceaser cipher code(in which it outputs the key and decrypted text...) please see that and help... thanks
16th Mar 2018, 4:22 AM
sayan chandra
sayan chandra - avatar
+ 2
Thanks very much Kirk, you helped me!!!
17th Mar 2018, 12:08 AM
Erik Umble
Erik Umble - avatar
+ 1
I don’t think it has Can you post the code?
15th Mar 2018, 11:14 PM
Ariela
Ariela - avatar