+ 1
Adding numbers. Python.
If it was adding two numbers like 23 and 67, on what conditions would you get 90 or 2367?
3 ответов
+ 3
If you add them as ints you will get 90. If you add them as strings you will get 2367.
+ 5
23 + 67 = 90 #addition of integers
'23' + '67' = '2367' # concatenation of strings
+ 3
if both are strings then 2367
if both are integers then 90