What does a*b amount to if 'a' is a tuple and b=3
Answers
Answered by
2
Answer: By multiplying a Tuple with an integer returns the Tuple repeated the integer value number of times.
Explanation:
In the given question, let tuple a be ( 1, 2, 3) and given b = 3
Hence, on printing a * b, the output would be ( 1, 2, 3, 1, 2, 3, 1, 2, 3)
Similar questions
Social Sciences,
5 months ago
Math,
5 months ago
Environmental Sciences,
10 months ago
Geography,
10 months ago
Math,
1 year ago
Math,
1 year ago