0
Arrays - DS Python 3
n = int(input()) arr = [] for i in range(0, n): ele = int(input()) arr.append(ele) arr.reverse() print(arr) #When I run this code in my idle it runs perfectly, but when I run in on hackerrank , the test cases don't pass. Can someone please let me know why? Thank yoyu
1 Answer
0
Check if you are printing extra spaces or something.
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
1 Votes
Тренажер кода
0 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes
Number of Ones ( C++ ) question!
1 Votes