所以...我只想要这个。我正在尝试用Python制作一个游戏“信任游戏”。这是一个你可以出卖你的伴侣或不出卖的游戏。下面是我编写的代码: p1_point = 0x = int(input("How many levels? ")) p1 = input("Player 1, pick yes to agree or no to betray. ") #I want to change this.
p2 = input("Player 2, pick yes to agree or
我正在尝试创建一个登录窗口,提示用户输入他们的用户名和密码,尽管当输入密码时,我正在寻找要打印的星号,比如普通的密码条目(即- Sekr3t被回显为:** *)。import msvcrt write = sys.stdout.write for x in prompt: passw = "" while 1:
x = ms