Write a function in Python PUSH(Art), where Arr is a list of numbers. From


Write a function in Python PUSH(Art), where Arr is a list of numbers. From this list push all numbers divisible by 5 into a stack implemented by using a list. Display the stack if it has at least one element, otherwise display appropriate error message.​


Leave a Reply

Your email address will not be published.