Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
3

How do you type letters and they appear as asterisks?

Python 3

Im trying to make a login page that automatically prints whatever is typed in asterisks.

3 years ago
You are viewing a single comment. View All
1

@AlexVasilkovsk1
you misunderstood me.
replace your if statment with this:

if encrypt(prompt('password: ', is_password=True)) == 'b3fa55f98fcfcaf6a15a7c4eb7cdd1b593693d3fef2fb7aec3b6768fd7c6a4ce': print("Hello")

This is the corrected code

3 years ago