I want to create a programme that asks a name and then returns it from the end to the begging. For example: if the name is Peter and the programme writes reteP.
name = input (“what is your name?:”)
for i in range (-1, -len(name)):
But it does not work (it does nothing except asking the name). I suppose the programme has to read name [-1], name [-2]…name[-len]. I think the problem is in the