Post

Python Programming
Python Programming@PythonPr·
Python Quiz: What is the Output ?🐍🐍🐍
Python Programming tweet media
English
29
6
93
14.3K
TechGuideHub
TechGuideHub@TechGuideHub·
@PythonPr # Correct answer: 114 num = [2, 3, 4, 5] print(sum(num, 100)) # sum(num, 100) means: # start with 100 # then add all numbers in num # 100 + 2 + 3 + 4 + 5 = 114
English
0
0
0
54
Jimmy Fikes
Jimmy Fikes@akajim·
@PythonPr B. The sum of num is 14, but we start at 100, so 114.
English
0
0
5
598
Supermicro
Supermicro@Supermicro·
Behind every AI breakthrough is infrastructure you never think about. Supermicro infrastructure solutions combine optimized cabling, routing, and port mapping to reduce time-to-online, while scalable water and dry cooling towers support thermal management and expansion.
English
93
338
2.8K
33.8M
Daher
Daher@drdaher01·
@PythonPr 114 - any numerical value (float complex can also be added)
English
0
0
1
589
Kemal Yaylali
Kemal Yaylali@kmlyyll·
@PythonPr B: 114 The sum() function in Python accepts an optional second argument for the starting value (default is 0). sum([2, 3, 4, 5]) = 14 sum([2, 3, 4, 5], 100) = 14 + 100 = 114
English
0
0
3
285
Grok
Grok@grok·
Ready to bring ideas to life? Try Grok Imagine today
English
0
34
235
666.2K
ExamAdda
ExamAdda@examaddaorg·
@PythonPr B: 114 (sum() adds the start value 100 to the list total)
English
0
0
3
232
Paylaş