📜  5.2.9:有多少个名字? - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:56.432000             🧑  作者: Mango

代码示例1
NumOfNames = int(input("How many names you have "))
Name = ""

for i in range(NumOfNames):
    NumOfNames = input("enter each of your name ")
    Name += str(NumOfNames)+" "

print(Name)