Using Python External & Built In Modules

 


# import random
# random_number = random.randint(0, 15)
# # print(random_number)
# rand = random.random() * 50
# # print(rand)
# lst = ["star plus", "zee tv", "colours", "& pictures", "dd national"]
# choice = random.choice(lst)
# print(choice)


################# MY CODE ##################



# import calendar
#
# print("Find your month and year")
# a = int(input("Enter year : \n")) # year is always on top
# b = int(input("Enter month : \n")) # month is after getting year
# calendar = calendar.month(a , b)
# print("\n", calendar)

Comments

Popular posts from this blog

MAP FILTER AND REDUCE FUNCTION IN PYTHON

Writing Appending to a File

Recursions: Recursive Vs Iterative Approach