Computer Science, asked by adityaneo, 2 days ago

Give output:
s="Sanchita"
l=len(s)
for i in range(l-1,0,-3):
print(s[i],end=" ")
i=i+2
Pls tell what will be the answer.

Answers

Answered by MichMich0945
1

Output:

a h a

Hope this helps you!

Edit: I added a ref screenshot just to make it clear :)

Attachments:
Similar questions