What will be the output of the following Python code? [code] for i in range(int(2.0)): print(i)[/code]

Linh Chi

New member
What will be the output of the following Python code?
Code:
for i in range(int(2.0)):
    print(i)
A. 0.0 1.0
B. 0 1
C. error
D. none of the mentioned
 

Tìm kiếm

Back
Top