Post

Bentch
Bentch@bentchmutombo·
@PythonPr C because the value of an and b are strings and not numbers recognized by the presence of quotation marks.
English
0
0
0
411
Ubani Udochukwu Friday
Ubani Udochukwu Friday@callmefarad·
@PythonPr Both operators are strings therefore the result will be 23 showing a concatenation of strings.
English
0
0
0
234
Robin Fultz
Robin Fultz@robin16633·
@PythonPr Forgive me if I screw this up. I've not studied Python for quite some time. C. 23. The numbers, when contained in parentheses, are listed as text. Python doesn't recognize them as numbers.
English
0
0
0
149
Alexander
Alexander@alexandriacarth·
@PythonPr 23 because of the quotation marks
English
0
0
0
4
Shiloh Egwuatu
Shiloh Egwuatu@ShiloheAi·
@PythonPr This is a funny one 😂 In Python, a and b are strings, not numbers. So a+b means string concatenation → '2' + '3' = '23'. If you actually want math: print(int(a) + int(b)) # 5
English
0
0
0
37
Jose Miguel Muniz
Jose Miguel Muniz@josemiguelmuniz·
@PythonPr C, because both are strings, the + operator concatenates them, producing "23".
English
0
0
0
62
Paylaş