Shouldn’t it be
if guess != number
Isn’t Russian Roulette played with one bullet in the chamber? Not five?
A chamber is the space in automatics, semiautomatic, and the slide back single shot weapons for the bullet when it is about to be fired. Any game of Russin Roulette played with a bullet in the chamber is going to be very short.
Russian Roulette is played with one bullet in the cylinder, the spinny thing on a revolver.
More fun like that
It wouldn’t work anyways because decorator can’t be applied to variable setting
Turn out I somehow mistook#
asIsn’t it also played with 6 slots instead of 10?
The game we see here is Russian Russian Roulette.
There’s Linux distro called suicide Linux that wipes your hard drive on any mistyped command.
I hope it comes preinstalled with
sl
and similar programs.if you type sl it wipes your drive. No funny train for you
Nah; it puts funny train to make you say
phew
then wipes your drive anyways!
You’ll get an OSError if you try to remove a directory with os.remove
I was gonna say, isn’t os.remove only for files? Docs say yes.
No docstring, no shebang, no main function, no raw strings, and I’m sure they don’t have unit tests with a mocked filesystem.
Pylint is screaming right now.
I like https://wemake-python-styleguide.readthedocs.io/en/latest/, it’s the Nazi version.
it’s the Nazi version.
I skimmed the linked doc and they don’t:
Reformat code, since we believe that developers should do that
Which seems more open and forgiving than some linters. What makes them strict and inflexible?
Or did you mean actual Nazi run the project? (I hate that this is a possibility.)
Edit: They do say they have lots of strict rules. So, I am going that is it.
its 14 lines
Error: that file path does not exist.
Is that actually what happens? Let me check.
String ain’t raw and \ will escape
It’s what happens on my machine.
It works on my machine.
what machine?
Still a better chance of success than an in-place upgrade of Win 10 to Win 11.