【发布时间】:2021-05-09 12:07:09
【问题描述】:
def inputs():
key = input("What is your name?: ")
value = input("What's your bid? ")
choice = input("Are there any other bidders? Type 'yes' or 'no'.")
print("Welcome to the secret auction program.")
inputs()
print(key, value, choice)
我想在主屏幕中重复输入()。所以我做了一个名为“输入”的新函数。但是我的代码不起作用:(我怎样才能使它正确?
【问题讨论】: