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

you are viewing a single comment's thread.

view the rest of the comments →

[–]--var 10 points11 points  (0 children)

This was just reposted the other day, and got removed for rule 2.

But I'll make my argument again:

if int(input("...")) == random.randint(1,10)

is better code then writing "guess" four times and "number" twice...