-
Notifications
You must be signed in to change notification settings - Fork 0
Poll : Python Question #60
Copy link
Copy link
Open
Labels
ContentAll the issues with this label are for the social media posting'sAll the issues with this label are for the social media posting'ssocial Media
Metadata
Metadata
Assignees
Labels
ContentAll the issues with this label are for the social media posting'sAll the issues with this label are for the social media posting'ssocial Media
Type
Fields
Give feedbackNo fields configured for Task.
Projects
Status
In Review
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]