Solve problem "The number of elements that are greater than the previous one" online - Learn Python 3 - Snakify

The number of elements that are greater than the previous one


Statement

A sequence consists of integer numbers and ends with the number 0. Determine how many elements of this sequence are greater than their neighbours above.
Advertising by Google, may be based on your interests

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

Advertising by Google, may be based on your interests