Strictly Increasing?

ABC 395

Problem 21 of 50

Easy

What to do

You need to check if a list of numbers is strictly increasing, which means each number is smaller than the next one. If all numbers follow this rule, print 'Yes'; otherwise, print 'No'.

Key Concepts

if-statements loops lists/arrays input/output handling

Examples

Input: [1, 2, 5]

Output: Yes

Input: [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...