20 randomly selected numbers 0-100

import random # 20 randomly selected numbers 0-100
a = [random.randint(0, 100) for i in range(20)]
print(a)

 

weight_list_earth = [float(weight) + w*0.5 for w in range(10) ]
weight_list_moon = [w * 0.165 for w in weight_list_earth ]

Guess you like

Origin blog.csdn.net/li_xp123/article/details/92379463