Required Length
ABC 411Problem 5 of 50
EasyWhat to do
You need to check if a password made of lowercase letters is long enough. The password must be at least a certain number of characters long. If it is long enough, you say 'Yes'; if not, you say 'No'.
Key Concepts
if-statements
string length
input and output
Examples
Input:
'chokudai', 5
Output:
Yes
Input:
'ac', 3
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...