Last answered:

14 Nov 2022

Posted on:

13 Nov 2022

0

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)
Instructor
Posted on:

14 Nov 2022

1

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

Submit an answer