Solve problem "Greater than previous" online - Learn Python 3 - Snakify

Problem «Greater than previous» (Easy)


Statement

Given a list of numbers, find and print all the elements that are greater than the previous element.

In all the problems input the data using input() and print the result using print().



Saved solutions

Tests

Input Correct answer Result
1 5 2 4 3
5 4
1 2 3 4 5
2 3 4 5
5 4 3 2 1
1 5 1 5 1
5 5
5 1 5 1 5
5 5
5 5 5 5 5
1 1 1 5 1
5
345354
1 465
465
4 -54643
2147483647 0 1 2 3
1 2 3
1 2 3 4 -2147483648
2 3 4
-9 29 -100 64 26 73 -96 28 -92 11 -14 -86 -54 -67
29 64 73 28 11 -54