A note about len () and randint (). (1)len() If you take a list type as an argument, you can get that element.
list = [0,1,2,3,4,5]
print(len(list))
#6 is output
(2)randint() Generate a random number.
import random
r = random.randint(1,100)
print(r)
#Generate a random number from 1 to 100
Recommended Posts