May-24-2018, 06:32 PM
# Your code below... name = " " number_of_names = int(input("How many names do you have: ")) for i in range(number_of_names): next = input("Enter Your Name: ") name = name + next print ("Your name is:" + name)The only problem I'm having is I'm not sure how to get the spaces between the names.
I get the following return:
How many names do you have: 3
Enter Your Name: Bob
Enter Your Name: tim
Enter Your Name: Tom
Your name is: BobtimTom