# Python Program to Generate Random Numbers from 1 to 20 and Append Them to the List import randoma=[]n=int(input("Enter number of elements:"))for j in range(n):    a.append(random.randint(1,20))print('Randomised list is: ',a)