Quick actions

cmd+k|ctrl+k

Navigation

Languages

Excercise: Password Checker

Snippet info

Language

Python

Visibility

public

Author

aldenvidal25

Created

2025-08-27T10:40:04.654107Z

Updated

2025-08-27T10:40:04.654107Z

username = input("What is your username? : ")
password = input("What is your password? : ")

# Hide password with stars
hidden_password = "*" * len(password)

# Output
print(f"Hi {username}, your password {hidden_password} is {len(password)} characters long.")
INFO