BadPython.com
Submit Bad Python
Mutable iteration
my_squares = [] for i in input_list: my_squares.append(i * i)
This
is
bad python!
This isn't that bad!
Share How You'd Fix It
See Another
See Others' Suggestions For Improvement
See Another
Thanks for voting!
×
Current Vote Counts
Is Bad:
Not Bad: