Last answered:

06 Dec 2022

Posted on:

05 Dec 2022

0

Resolved: Is this bad looking code qualify as correct answer for Q2?? I think it works

user = input("Please enter any word of your choice \n >>")
for i in range(-1,len(user)*-1-1,-1):
    print(user[i],end="")
2 answers ( 1 marked as helpful)
Instructor
Posted on:

06 Dec 2022

0

Hey Hosam,

Thank you for reaching out and for sharing your code.

This indeed qualifies as another way of solving the practical challenge. Well done!

Kind regards,
365 Hristina

Posted on:

06 Dec 2022

0

Thanks alot I thought I was Stupid after seeing the correct answer by the Instructor

Submit an answer