Post

@PythonPr The output of print(a+b) will be 55.
This is because the variables a and b are defined as strings due to the quotes surrounding the numbers. When you use the + operator on two strings in Python, it performs string concatenation, which means
English

@PythonPr Additions of strings will lead to concatenation, so B.
English

@PythonPr guys you could be teaching some useful stuff here smh
English

@PythonPr Answer:-(B)55
a and b are two strings here so when you use + operator here then python performs string concatenation.
English

@PythonPr concatenating strings? This is your gotcha?
English































