Post

@PythonPr Personally, I think it's C. Error. Because a is a string and b is numerical.
English

@PythonPr The answer is D but I don't know why😭
English

@PythonPr It's interesting that these are potential genericizations and overloadings of the arithmetic symbols . In current development CoSy , need to be more specific :
` 9 4 _take
9999
as a string .
English

@PythonPr Error, because the variable a being a character string cannot be multiplied to an integer. So the exit is C
English

@PythonPr Answer: D
Solution: The python does different things for different kinds of operators.
a is a string, '9'.
b is an int, 4.
In python, string-int multiplication is defined as repepetition of the string, int number of times.
So, '9' * 4 gives 4 repetetions of 9, ie, "9999".
English





































