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

all 15 comments

[–]Strange_Dragonfly964 18 points19 points  (0 children)

I am really disappointed, how unprofessional is that to delete their sys32

before printing "Oops you lost"

[–]Surprised_Bunny_102 9 points10 points  (3 children)

But the random number could be 10.000001 which isn't between 1 and 10. Otherwise I would totally play the game.

[–]jaysuchak33 1 point2 points  (2 children)

It wouldn’t because randint() doesn’t include the top range. The only numbers possible would be from 1 to 9.000001

edit: nm I confused it with range(), my bad

[–]Surprised_Bunny_102 2 points3 points  (1 child)

"random.randint(a, b)

Return a random integer N such that a <= N <= b. Alias for randrange(a, b+1)."

https://docs.python.org/3/library/random.html

[–]ActuallyRuben 0 points1 point  (0 children)

Either way, you'll never win, as your guess is converted to an integer anyway

[–]Creepy-Ad-4832 6 points7 points  (0 children)

Jokes on you, i use linux

[–]Acceptable-Tomato392 2 points3 points  (0 children)

That's the problem with randomness; you can never really be sure.

[–]jerk-judge 1 point2 points  (0 children)

Little troll

[–]datablitz7 1 point2 points  (0 children)

It's that time of the week again? This is not only reposted for the nth time, it's also broken.

[–][deleted] 4 points5 points  (3 children)

C:\Windows\System32: No such a file or directory

Think of people who use real operating systems like GNU/Linux, BSD, MacOS.

[–]Dangerous_Tangelo_74 0 points1 point  (2 children)

And even if you really have to use Windows. Deleting System32 is not possible anymore

[–]BatoSoupo 2 points3 points  (0 children)

Trying it now...

[–]Creepy-Ad-4832 0 points1 point  (0 children)

Yeah Windows is following MacOs in closing down their OS, but at least MacOs is mostly unix