You are viewing a single comment's thread. Return to all comments →
This is my solution in python 3:
I would be really happy if someone can improvise it or make it shorter: PS: I am still learning!
import math import os import random import re import sys
if name == 'main': n = int(input())
arr = list(map(int, input().rstrip().split())) print(*arr[::-1],end = ' ')
Seems like cookies are disabled on this browser, please enable them to open this website
Day 27: Testing
You are viewing a single comment's thread. Return to all comments →
This is my solution in python 3:
I would be really happy if someone can improvise it or make it shorter: PS: I am still learning!
!/bin/python3
import math import os import random import re import sys
if name == 'main': n = int(input())