Read the value of N (limit of the list), input N elements and print the elements in Python.
Example:
Input:
Enter limit of the list: 5
Enter an integer: 10
Enter an integer: 20
Enter an integer: 30
Enter an integer: 40
Enter an integer: 50
Output:
Input list elements are:
10
20
30
40
50
Program:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer