Python generates 10 random numbers from 0-99

Python generates 10 random numbers from 0-99

import random
result = random.sample(range(0,99),10)
print(result)

Comments

Popular posts from this blog

Python Receiving and parse JSON Data via UDP protocol

ubus lua client method and event registration code demo/example