0

invalid syntax

while path |= "1" and path |= "2": I have a quastion Why do i get a invalid syntax at the = sign Please help. Thanks!

10th Sep 2018, 5:28 AM
FlaviusKID
FlaviusKID - avatar
3 Answers
+ 5
what language? maybe you can replace | sign with the ! sign
10th Sep 2018, 5:32 AM
Nafis Arinda Rizky Putra Handoko
Nafis Arinda Rizky Putra Handoko - avatar
+ 2
I changed the | with ! and it works. Thanks o lot!
10th Sep 2018, 5:34 AM
FlaviusKID
FlaviusKID - avatar
+ 1
In Python.
10th Sep 2018, 5:32 AM
FlaviusKID
FlaviusKID - avatar