PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
The ____________ function removes the first element of a set and the last element of a list.
A. remove
B. pop
C. discard
D. dispose
Show Answer
Next Question
Correct Answer:
B
Explanation: The function pop removes the first element when used on a set and the last element when used to a list.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap