BadPython.com
Submit Bad Python
Using globals
my_var = 100 def simple_func(x=None): global my_var if x is None: my_var += 1
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: