我正在请求用户输入。我要求输入用户名,然后输入密码。例如
username = input('Please enter a Username:\n')
password = input('Please enter a Password:\n')
运行时,这当然会如下所示:
Please enter a Username:
Iain
Please enter a Password:
Iain
我想要的是这样的:
Please enter a Username:
Iain
Please enter a Password:
****