Here is my code so far;
Username = input ("Please enter your Username: ")
Password = input ("Please enter your Password: ")
print ("")
print ("Your selected username: ", Username)
print ("Your selected password: ", Password[0:5]+)
(This is in bold as I just had to show that I am already telling python to start by only displaying the first 5 letters of the password)
So, what I want to do is replace the letters after the 5th letter of the password that the user enters with #'s. So for example if the password the user enters is "Password", it will print "Passw" followed by "###" (replacing "ord"). It's like what they do in email verifications sometimes when it displays your full Username but only 5-6 letters of your password. Thanks in advance for any replies.