Examveda

Suppose list1 = [0.5 * x for x in range(0, 4)], list1 is:

A. [0, 1, 2, 3]

B. [0, 1, 2, 3, 4]

C. [0.0, 0.5, 1.0, 1.5]

D. [0.0, 0.5, 1.0, 1.5, 2.0]

Answer: Option C


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python