Python conversations

x=8.6
print(type(x))
y=complex(x)
print(type(y))
print((Y))

o/p-<type ‘float’>
<type ‘complex’>
8.6+0j

2 Likes

@Pradhansuchismita97
Nice👍
Keep it up

1 Like