Order!

Report a typo

Get three large numbers from input and check that they are given in ascending order. The subsequent number must be greater than the previous one.

The input format:

Three lines with three numbers.

The output format:

True or False

Tip: This problem can be solved with just one line of code!

Sample Input 1:

7790765547678990
7790765557679990
7790765557778900

Sample Output 1:

True
Write a program in Python 3





___

Create a free account to access the full topic