ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
Programming and Problem Solving through Python
: Sequence data types in python
एक लिस्ट में एक न्यू एलिमेंट ऐड करने के लिए हम किस कमांड का यूज़ करते हैं? , To add a new element to a list we use which command?
To add a new element to a list we use which command?
A.
list1.add(5)
list1.add(5)
B.
list1.append(5)
list1.append(5)
C.
list1.addLast(5)
list1.addLast(5)
D.
list1.addEnd(5)
list1.addEnd(5)
Solution
B. list1.append(5)
Explanation
We use the function append to add an element to the list.
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad