def logInOkay():
print("You must login before proceeding")
userId = input("User ID")
userPw = input("Password")
if (userId=="Mr Leeman") and (userPw=="Treeroad!"):
return True
else:
print("Error in userId or password")
return False
我需要能够输入(treeroad!),但需要将其隐藏并替换为星号。