Quick actions

cmd+k|ctrl+k

Navigation

Languages

Exercise: Password checker

Snippet info

Language

Python

Visibility

public

Author

gustav

Created

2026-06-20T02:46:49.577415Z

Updated

2026-06-20T06:05:44.835656Z

#input('gigi')

#input('theprivatesecret') 
                                      
#print('{username}, your password {****************} is {16} letters long')


username = input('what is your name?')

password = input('what is your password?')

password_length = len(password)
masked_password = '*' * password_length

print(f' {username}, your password, {masked_password}, is {password_length} letters long')

INFO