Post

Python Developer
Python Developer@PythonDvz·
What is the output? Write your answer in the comments and share it with your friends✅✅
Python Developer tweet media
English
15
6
63
6.7K
Jimmy Fikes
Jimmy Fikes@akajim·
@PythonDvz B. list1 is appended into itself but Python needs to represent the reference to itself with ellipses (...) to prevent an infinite loop.
English
0
0
2
185
Dp👨🏻‍💻
Dp👨🏻‍💻@Darpanarora0802·
@PythonDvz After appending list becomes recursive list, so python prints B option.
English
0
0
1
273
Gopuff
Gopuff@gopuff·
Our delivery comes with a genius. Go learns what you like, builds your cart in seconds, and gets it all to your door in as fast as 15 minutes.
English
1
3
119
852.7K
T
T@LaraSuChronicle·
@PythonDvz Maybe B
English
0
0
0
10
Asotsiaalne Autist
Asotsiaalne Autist@asotsiaalne·
@PythonDvz I was to offer A as an answer, but I realized I had confused append() with extend(). Append adds list1 to itself as an element, creating a recursive structure (B).
English
0
0
0
33
Luna
Luna@LunaElsa126129·
@PythonDvz I think it's option B
English
0
0
0
161
PrizePicks
PrizePicks@PrizePicks·
Make your picks today.
English
0
0
32
1.7M
แชร์