【发布时间】:2018-12-07 14:06:29
【问题描述】:
我在网上找不到任何东西,所以我想知道是否有人可以提供帮助。我有以下代码:
x = str(input("Enter number of unique customers then press enter: "))
我希望它向用户询问用户输入的客户数量的具体数字。例如说用户输入“2”。我想问:客户1的号码?客户 2 的号码?
我找不到查看变量 x 并使用答案来知道要问多少的方法。谢谢!
【问题讨论】:
标签: python python-3.x dictionary syntax user-input