Answer to Question #307400 in Python for vanshu

Question #307400

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


1
Expert's answer
2022-03-07T16:45:10-0500
print('1. print list of integers')
n = int(input (''))
list1 = []
if n == 1:
    input1 = int(input (''))
    for i in range(input1):
        list1.append(i)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS