I want you to make an array of numbers for me. All you have to do is make a program that will let me input any random integer in one line. Afterwards, it will then print out all the numbers I've inputted, backwards, on separate lines. Care to do that for me? Input The first line contains the size of the array. The next line contains the integers separated by a space. 5 1·64·32·2·11 Output Multiple lines containing integers on each. 11 2 32 64 1
1
Expert's answer
2021-10-25T16:59:05-0400
# Online Python compiler (interpreter) to run Python online.
# Write Python 3 code in this online editor and run it.
n = int(input())
l = list(map(int,input().split()))
l.reverse()
for i in l:
print(i)
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment