Is it rated?
ABC 405Problem 11 of 50
EasyWhat to do
You need to check if a person's rating allows them to participate in a specific division of a contest. If their rating falls within the allowed range for that division, you will answer 'Yes'; otherwise, you will answer 'No'.
Key Concepts
if-statements
comparison operators
input/output
Examples
Input:
2000 1
Output:
Yes
Input:
1000 1
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...