Using Python External & Built In Modules
# Using Python External & Built In Modules
import random
random_number = random.randint(0,2)
# print(random_number)
rand = random.random() * 100
# print(rand)
list = ["Star Plus", "DD1", "Aaj Tak", "CodeWithHarry"]
choice = random.choice(list)
print(choice)
Comments
Post a Comment