I want to make it so the user enters his name/age and it outputs the name and age in ten years. I have set it out like this:
print("Let's find out how old you will be in 10 Years.\n")
name = input("name: ")
print("\nNow enter your age,",name,"\n")
age = int(input("age: "))
ageinten = age + 10
print("\n",name,"you will be",ageinten,"in ten years.")
input("Press Enter to close")
The output is like this:
Let's find out how old you will be in 10 Years.
name: Example
Now enter your age, Example
age: 20
Example you will be 30 in ten years.
Press Enter to close
But I want it without the space before example:
Example you will be 30 in ten years.
Press Enter to close
Can anyone help with this problem?