What is the value of endmsg after executing the following lines?startmsg = "python" endmsg = "" for i in range(1,1+len(startmsg)): endmsg = startmsg[-i] + endmsg
Answers
Answered by
9
Explanation:
Week 1: Introduction · Week 2: Basics of Python · Week 3: Lists, inductive function definitions, sorting · Week 4: Sorting, Tuples, Dictionaries, Passing Functions, List.
Similar questions
Science,
4 months ago
Environmental Sciences,
4 months ago
Environmental Sciences,
8 months ago
Social Sciences,
1 year ago