Answer to Question #226833 in Python for guna

Question #226833
startmsg = "python"
endmsg = ""
for i in range(1,1+len(startmsg)):
  endmsg = startmsg[-i] + endmsg




1
Expert's answer
2021-08-17T12:53:31-0400

The question is:

What is the value of endmsg after executing the following lines?

After the execution output will be

'python'

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS