You are viewing a single comment's thread. Return to all comments →
import os import math import re import random import sys
n = int(input())
myList = list(map(int, input().rstrip().split()))
myList.reverse()
print(*myList)
Seems like cookies are disabled on this browser, please enable them to open this website
Day 7: Arrays
You are viewing a single comment's thread. Return to all comments →
!/bin/python3
import os import math import re import random import sys
n = int(input())
myList = list(map(int, input().rstrip().split()))
myList.reverse()
print(*myList)