The code multiplies the list by 3, resulting in the list elements being repeated three times.
my_list = [1, 2]
my_list = my_list * 3
print(my_list)
The output will be [1, 2, 1, 2, 1, 2], which is the original list [1, 2] repeated three times.
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Willy78
Highly Voted 2 years, 10 months agojason2626
2 years, 3 months agoAnilr
Highly Voted 2 years, 10 months ago[Removed]
Most Recent 5 months, 2 weeks agoeww_cybr
1 year, 4 months agomdawg
2 years, 3 months agoEdwinmolinab
2 years, 4 months ago[Removed]
2 years, 7 months ago[Removed]
2 years, 9 months agobogd
2 years, 9 months ago