Post

Coding Computing Coach
Coding Computing Coach@CodingComputing·
@PythonDvz Answer: C a is a str & b is an int. It seems impossible to multiply them using the * operator. But the * operator does different things for different operand types. For str and int, the * operator repeats the str, int times. '5' * 3 repeats the string thrice, ie, "555"
English
0
0
3
634
Paylaş