Quick actions

cmd+k|ctrl+k

Navigation

Languages

Exercise: Password Checker

Snippet info

Language

Python

Visibility

public

Author

harshdeepsaini2757

Created

2025-11-03T22:25:23.321034Z

Updated

2025-11-03T22:25:23.321034Z

# Exercise: Password Checker

username = input("Enter your username")
password = input("\nEnter your password")

pass_length = len(password)
hidden_pass = pass_length * '*'

print(f"\n{username}, your password is {hidden_pass}, is {pass_length} letters long")






INFO