Skip to content

Instantly share code, notes, and snippets.

@axurright
Last active November 12, 2024 01:54
Show Gist options
  • Select an option

  • Save axurright/d28a4af0816560d68865b2f586a70d57 to your computer and use it in GitHub Desktop.

Select an option

Save axurright/d28a4af0816560d68865b2f586a70d57 to your computer and use it in GitHub Desktop.
Some Python war crimes that will get you arrested if used in production.
for i in range(1000000):
print(i)
# Man if your toaster survives good job
nn = 69
# For your sanity nn is nerdNumber
if nn > 0:
print("It's equal than 0.")
if nn < 0:
print("It's different than 0")
for a in range(1):
for b in range(10):
for c in range(100):
for d in range(1000):
for e in range(10000):
print(e)
print(d)
print(c)
print(b)
print(a)
isTrue = false
isFalse = true
if isFalse = false:
print("Success")
if isTrue = true:
print("Failure")
# I need a lawyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment