Skip to content
Share
Explore

exemplo9

import random
d20 = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]

print(*d20)
print(random.choice(d20)) # escolhe um numero da listas aleatorio

print(random.randint(1,20))




Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.