+ 4
Code coach - That's odd problem
I need your help: what is the type of data i the input? (list or iterals or something else)? --------- 9 1 2 3 4 5 6 7 8 9 ------- How many input() should i use (Python)? Thank you.
6 Antworten
+ 8
I did it this way:
First input gives the number of values that would follow.
Then using a loop for number
of values from first input, to get value by value. Append them to a list, or compute them direkt.
+ 4
Thank you very much for these precious advices: I've got the revelation with your help.
Thomas and Alexander, you're the best coaches!
+ 3
Yes, and maybe in the same loop the comparisation and add to a sum if true
+ 3
Alexander, крепко жму вашу дружественную руку!
+ 2
And in SL the input is tricky.
You have to input ALL values line by line. Each value in a single line (with return), and one submit after the last one.
+ 2