I'm somewhat new to python and am working on an assignment with a friend for school. We wanted to ask for a swimmer's name, followed by asking what time they managed to achieve. We wanted the program to work like this:
Name = input('Input swimmers name: ')
Time = int(input('What time did',Name,'achieve? ')
However it isn't working. What could we use here that will allow us to ask the swimmer's time by using the swimmer's name in the question?
'foo' + Name + 'bar'