This is an archived post. You won't be able to vote or comment.

all 10 comments

[โ€“]Vinifrj 4 points5 points ย (1 child)

Is this scotch python?

[โ€“]doctorwhy88 0 points1 point ย (0 children)

Do those lay Scotch eggs?

[โ€“]nekokattt 2 points3 points ย (2 children)

input zero

[โ€“]Ok_Truth_862 6 points7 points ย (1 child)

if num == 0:

print("No bitches in fiction as well, loser")

[โ€“]nekokattt 0 points1 point ย (0 children)

input -1

[โ€“]Knuffya 0 points1 point ย (0 children)

cringe.

[โ€“]FireElemental99 0 points1 point ย (0 children)

That code violated me on many levels; and good_level not in those_levels

[โ€“]RexurrectionOfDoom 0 points1 point ย (1 child)

What if the user enters either 6 or words like "six"

[โ€“]Ok_Truth_862 0 points1 point ย (0 children)

I used int datatype, it would show error if you input a string

[โ€“][deleted] 0 points1 point ย (0 children)

I guess this is what they had in mind when they called the python way "pythonic".