Answer for the converstion syntax

number =3
print(type(x))= int type
y=complex(x)= 3+0j ,complex type

1 Like

@deepthisonu0

Well done, keep it up.

1 Like

Welcome @deepthisonu0 to Community! I hope to see more interactions on this platform. Keep practicing and learning :smile: