8
zohairmustafa5
3 9
247/ 345
Last seen 4 years ago
Member for 4 years, 1 month, 18 days
Difficulty Normal
Commented a forum post "Acceptable password 2" created by zohairmustafa5
the password should be greater than 6, so why is it wrong to check length first?
Created a forum post "Acceptable password 2"
def is_acceptable_password(password: str) -> bool: x=len(password) if x > 6: if
Liked a comment created by veky for forum post "Whats the error"
When do you want to return x? Each time through the loop, or after the loop?
Commented a forum post "Whats the error" created by zohairmustafa5
just caught my mistake a few minutes ago thanks for the reply
Created a forum post "Whats the error"
def find_message(text: str) -> str: """Find a secret message""" x = "" for ch in text