Can you complete this Pyhon Quiz? Comment your answers below. #python #programming #developer #morioh #programmer #softwaredeveloper #computerscience #webdev #webdeveloper #webdevelopment #pythonprogramming #pythonquiz #ai #ml #machinelearning #datascience
@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.
@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
@PythonPr C because the value of an and b are strings and not numbers recognized by the presence of quotation marks.
@PythonPr Both operators are strings therefore the result will be 23 showing a concatenation of strings.
new arrival of premium sex toy sex toy for 80% off rose toy official Back to School Special Discount
A bipartisan bill could cap credit card interest rates at 10%, saving families thousands. Want to see it become law?
@PythonPr C, because both are strings, the + operator concatenates them, producing "23".