Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- stats = [1, 1, 1, 1, 1, 1]
- stats[(random.randint(0,5))] += 7
- level = int(input("What is the level? > "))
- level+=3
- times_looped = 0
- while times_looped < level:
- randstat = (random.randint(0,5))
- if stats[randstat]>=10:
- print("too big")
- else:
- times_looped+=1
- stats[randstat] += 1
- print(stats)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement