Strictly increasing
Input
is_strictly_increasing(1, 2, 3)
Output
True
1 < 2 < 3 is True, so the function returns True.
Full lesson preview
Use comparison and boolean operators to determine if three values are strictly increasing.
Problem statement
Task
Examples
Input
is_strictly_increasing(1, 2, 3)
Output
True
1 < 2 < 3 is True, so the function returns True.
Input format
Output format
Constraints
Samples
Input
is_strictly_increasing(2, 2, 3)
Output
False
Because 2 is not less than 2, the chained comparison fails.