+ 1

What is wrong with my code?

I am doing the challenge "That's odd" and made this code that works fine on PC for but only prints "0" on Samsung android help? https://code.sololearn.com/c3Hqro7ADXBt/?ref=app

2nd Feb 2020, 2:17 PM
Vanessa Nilsson
2 ответов
+ 1
I meant in the challenge Console and the console on computer and phone works fine.
2nd Feb 2020, 2:18 PM
Vanessa Nilsson
0
You are reading only one line. Read again the description, eg: Input Format: The first input denotes the length of the list (N). The next N lines contain the list elements as integers.
2nd Feb 2020, 3:10 PM
Mihai Apostol
Mihai Apostol - avatar