Python小程序(猜硬币)

import random #print('Guess the coin toss!Enter heads or tails') #guess=int(input()) guess=' ' toss=random.randint(0,1) while guess not in range(0,2): print('Guess the coin toss!Enter heads or tai
相关文章
相关标签/搜索