We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Tutorials
- 30 Days of Code
- Day 7: Arrays
- Discussions
Day 7: Arrays
Day 7: Arrays
Sort by
recency
|
2055 Discussions
|
Please Login in order to post a comment
Simple and easy to understand-
public class Solution { public static void main(String[] args) throws IOException {
}****
!/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)
JAVA-
import java.util.Scanner; public class Solution{
}