Python List Multiplication what will be output ? python | py basics | coding #python #pythonquiz
Description: ✅ Correct Answer: A) `[1, 2, 3, 1, 2, 3]`
Explanation:
In Python, the `*` operator with a list repeats its elements the specified number of times.
Here, `my_list * 2` means repeating the entire list two times.
Original list: `[1, 2, 3]`
After mu ... Close description
Explanation:
In Python, the `*` operator with a list repeats its elements the specified number of times.
Here, `my_list * 2` means repeating the entire list two times.
Original list: `[1, 2, 3]`
After mu ... Close description




