Answer:
# The user input is accepted and stored in myString
myString = input(str("Enter your string: "))
# An empty string called reversedString is declared
reversedString = ''
# l is defined to show number of times the loop will occur.
# It is the length of the received string minus one
# since the string numbering index start from zero
l = len(myString) - 1
# Beginning of the while loop
while l >= 0:
reversedString += myString[l]
l = l - 1
# The reversed string is printed to the user
print(reversedString)
Step-by-step explanation: