My answer for Question 2
mystring = str(input("Please input a string: >>>"))
for i in range(-1,-len(mys)-1,-1):
print(mystring[i],end='')
1 answers ( 0 marked as helpful)
Hey Lily,
Thank you for reaching out and for sharing your code with the community!
I should only say that the argument inside the len()
function should be mystring
rather than mys
. Otherwise, great solution!
Keep up the good work!
Kind regards,
365 Hristina