Post

@PythonPr Answer: B) 55
Explanation (short & clear, tweet-ready):
a and b are strings, not numbers.
So a + b performs string concatenation, not addition.
"5" + "5" → "55"
If you want 10, convert them first: print(int(a) + int(b))
English

@PythonPr Answer: B) 55
The key: "5" is a STRING, not a number!
› String + String = concatenation
› "5" + "5" = "55" (joins them)
› NOT 10 (math only works with numbers)
For beginners: Quotes make it text. Want 10? Use a = 5 and b = 5 (no quotes)
English

@PythonPr B. 55 ✅
The quotes make "5" a string, not an integer. In Python, + between two strings performs concatenation, not addition. So "5" + "5" joins to form "55".
English

@PythonPr Answer: B. 55 In Python, the variables (a) and (b) are assigned string values, not numbers, because they are enclosed in quotation marks (" "). When the (+) operator is used with strings, it performs string concatenation (joining them
English

@PythonPr String + String = StringString . So it will print 55
English

@PythonPr B) 55 because a and b are saved as strings
English

@PythonPr B) 55 becouse we are doing string concatination here
English

@PythonPr B. The + can be used to add numbers, or to concatenate strings, as in the example. This is an example of operator overloading.
English

@PythonPr As aspas (" ") transformam o 5 em texto. Com aspas ("5"): O Python trata como uma palavra. O sinal + serve para colar uma na outra ( "5" + "5" = "55").
Reposta B.
Português

@PythonPr Output is 55.
Because both variables are strings, the plus operator concatenates them instead of adding numerically.
English

@PythonPr B) 55 is the right answer.
a,b are the string not integer, so here we perform string concatenation.
English

























