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
|
2054 Discussions
|
Please Login in order to post a comment
!/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{
}
this is my code in c without predefined code ---->>>
include
int main() { int n; scanf("%d",&n); int A[n]; for(int i=0;i=0;i--) { printf("%d ",A[i]); } return 0; }