Python Quizs Question and Answers – Lists – 2
Q 1. Suppose list1 is [1, 3, 2], What is list1 * 2?A. [2, 6, 4]B. [1, 3, 2, 1, 3]C. [1, 3, 2, 1, 3, 2]D. [1, 3, 2, 3, 2, 1] Show Answer Answer:-C. [1, 3, 2, 1, 3, 2] Explanation Execute in the shell and verify. Q 2. Suppose list1 = [0.5 … Continue reading Python Quizs Question and Answers – Lists – 2
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed