This is my python code for the REVMEE problem in DSA learning series Easy problems.
def main():
n = int(input())
nos = input()
listOfNumbers = list(map(int, nos.split(" ")))
print(*listOfNumbers[: : -1])
if name == “main”:
main()
I am not able to pinpoint where I might be going wrong. Kindly help.