+ 1

What can you do if a variable name you would like to use is the same as a reserved word? 😄

25th Mar 2019, 3:34 AM
Hammer
Hammer - avatar
2 Réponses
+ 2
Add an underscore _: list_, max_ etc. are valid variable names and won't break python
25th Mar 2019, 5:47 AM
Anna
Anna - avatar
0
All you can do is hope it doesn't mess up with your code. You could simply use another variable name, though.
25th Mar 2019, 5:04 AM
Diego
Diego - avatar