r/badcode • • Aug 27 '21

python Is this code bad or sugoi?

Post image
1.0k Upvotes

154 comments sorted by

View all comments

0

u/[deleted] Aug 27 '21

[deleted]

173

u/joonatoona Aug 27 '21
name = input("Please enter your name: ")
emoticon = "(Β°β–½Β°)/ πŸ™‡"
print("Hello {}! {}".format(name,emoticon))
def addNumbers(number1, number2):
    true = True
    if number1 or number2 < 0:
        return not true
    else:
        sum = number 1 + number2
    return sum
        
print("sum =", addNumbers(6, 9))

rain(?) = False
counter = 1
if not not not rain:
    while counter < 11:
        print(str(counter) + ". πŸ˜‚πŸ˜‚")
        counter = counter + 1

God trying to format that on mobile sucked, and I probably got some of that wrong anyways.

9

u/G-Force-499 Aug 27 '21

I really don’t understand the purpose of the last bit of code

3

u/dreamin_in_space Aug 28 '21

Probably why it was posted here, other than to flex on English-only speakers :D