I'm making a program where the user needs to enter a password. I'm using the input function for this. How would I make it so that the user sees *** symbols instead of the actual letters for their password?

I'm making a program where the user needs to enter a password. I'm using the input function for this. How would I make it so that the user sees *** symbols instead of the actual letters for their password?

You can use getpass module to hide the password entered on the console.
You can use a function like below
import getpass
pswd = getpass.getpass('Password:')