0

How do i make a rng activate on a predetermined number

I am trying to make a random number generator activate a taser on a set number. It's russian roulette but with a taser

29th Feb 2020, 3:16 AM
Sean McDowell
1 Answer
+ 1
from random import randint rn = randint(0, 10) #integer from 0-10 if rn == 5: #if 5 fire taser print("fire taser")
29th Feb 2020, 3:41 AM
ChaoticDawg
ChaoticDawg - avatar