Question #307400

1.      Write a menu driven program to implement of list as a stack containing integers.


Expert's answer

print('1. print list of integers')
n = int(input (''))
list1 = []
if n == 1:
    input1 = int(input (''))
    for i in range(input1):
        list1.append(i)
LATEST TUTORIALS
APPROVED BY CLIENTS