CBSE Class 11 Computer Science Question 83 of 104

List Manipulation — Question 19

Back to all questions
19
Question

Question 17

Let nums2 and nums3 be two non-empty lists. Write a Python command that will append the last element of nums3 to the end of nums2.

Answer

nums2.append(nums3[-1])

Answer