Strictly Increasing?
ABC 395Problem 21 of 50
EasyWhat to do
Check if a list of integers is strictly increasing — meaning each element is strictly less than the next one. Return 'Yes' if strictly increasing, 'No' otherwise. Note: equal consecutive values (like [1, 1, 2]) are NOT strictly increasing.
Key Concepts
if-statements
loops
lists/arrays
input/output handling
Examples
Input:
arr = [1, 2, 5]
Output:
Yes
Input:
arr = [3, 9, 5]
Output:
No
Tips for Beginners
- Focus on understanding the logic, not memorizing syntax
- Use print statements to debug your code
- Don't worry about input parsing - the function handles that for you
- If stuck, try writing out your solution on paper first
Python Editor
Loading Python...