Report Bug
Qus : To add a new element to a list we use which command?
Qusएक लिस्ट में एक न्यू एलिमेंट ऐड करने के लिए हम किस कमांड का यूज़ करते हैं?

A. list1.add(5)
B. list1.append(5)
C. list1.addLast(5)
D. list1.addEnd(5)


Solution
B. list1.append(5)



Explanation
We use the function append to add an element to the list.



Report Bug