KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Predict the output when executed:

StatementOutput
a = 24
m = float(a)
print(m)
b = 32.86
n = int(b)
print(n)
c = 3
p = complex(c)
print(p)

Python Funda

3 Likes

Answer

StatementOutput
a = 24
m = float(a)
print(m)
24.0
b = 32.86
n = int(b)
print(n)
32
c = 3
p = complex(c)
print(p)
(3+0j)

Answered By

3 Likes


Related Questions