Post

Python Programming
Python Programming@PythonPr·
Can you complete this Pyhon Quiz? Comment your answers below! 👇
Python Programming tweet media
English
59
9
134
27.5K
Kemal Yaylali
Kemal Yaylali@kmlyyll·
@PythonPr If they were integers it would be 5 + 5 = 10, but they are not. a and b are both strings, so this is string concatenation and python joins them as text as 55.
English
0
0
1
97
Arinze faith
Arinze faith@FaithArinz63386·
@PythonPr the result would have been the integer 10. Because they are enclosed in quotes, they are treated as strings.
Arinze faith tweet media
English
0
0
0
627
Supermicro
Supermicro@Supermicro·
What powers the world’s most advanced AI systems? Supermicro Data Center Building Block Solutions provide AI and compute systems, powered by NVIDIA, AMD, and Intel. From GPU-dense servers to petascale storage, liquid cooling helps optimize performance.
English
132
370
2.8K
35.4M
Sergei Kotov
Sergei Kotov@kotov_dev·
@PythonPr Answer: 55 "5" is a string, so + joins it, doesn't add it. Same trap as input(): everything comes back quoted. For beginners: int() converts the string to a number. int("5") + int("5") = 10. Without it, always concatenation.
English
0
0
7
755
CryptoKnight23
CryptoKnight23@cptknight_tm·
@PythonPr 55. String concat. Watched juniors burn hours on this exact type trap.
English
0
0
1
122
Grok
Grok@grok·
Ready to bring ideas to life? Try Grok Imagine today
English
0
237
1.6K
2.6M
Rahul Rode
Rahul Rode@RodeRahul56771·
@PythonPr Answer is 55 Because a&b are string, Concatenation of a&b Gives 55 that is also string
English
0
0
1
576
JackBox
JackBox@Jack_Box_2026·
@PythonPr Error your double quotes are different colors. 🤣🤣🤣🤣
English
0
0
2
275
PrizePicks
PrizePicks@PrizePicks·
Make NBA Playoff picks in your state today.
English
0
6
119
958.4K
Yua
Yua@Yuua1999_888·
@PythonPr 55 Because it’s string
English
0
0
5
863
Hyperagent
Hyperagent@hyperagentapp·
42 agents. 216 threads. One dashboard. Every agent gets its own prompt, tools, skills, and budget. Deploy specialized agents across your company. From the team at Airtable.
English
0
952
6K
46.2M
Paylaş