Computer Science, asked by hamza7915, 10 months ago

What does a*b amount to if 'a' is a tuple and b=3

Answers

Answered by adiattaluri
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