Skip to content

Poll : Python Question #60

Description

@Saikiranudayana

Hello Pythonistas!
🤔 Guess the output of the list after the pop() function.
Seems easy at first glimpse… but no, it’s not 😉

Question
list = [1, 2, 3, 4, 5, True]
list.pop(True)
print(list)

Answers
Vote in the poll 👇
A. [1, 2, 3, 4, 5]
B. []
C. [1, 3, 4, 5, True]
D. [2, 3, 4, 5, True]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ContentAll the issues with this label are for the social media posting'ssocial Media

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions