Wed Mar 27 2024 10:31:02 GMT+0000 (Coordinated Universal Time)
Saved by @pvignesh
n=int(input("enter no.of elements: ")) m1=[] for i in range (n): x=int(input()) m1.append(x) print (m1)
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments