Python Ass.1
Python Ass.1
Assignmen -1
ython Basics -1 PAGE NO.:
Eq. 1) >flodCo)
l0.0
(2) s> flout Cio+s)
TypetroY Can't onuextcomplex
to floct
Weneves coe cre ty taying to convext
s t type to flucat ype compulsay
Lstr should he either
inteqer
loating_point IRBezal ond should be
lspe fsed only in buse- 10.
C8) Compler c
De çem use compler ()CO Auncion to conuext
ate cempter ey eitt other
types to camplex type
eq: cy complex (#o]==> 10+Qj
Q) complex Cio.s)=*> l0.s+ o
coe cen use ths method to convext
and Snto conplex numbex such
that s all he parl end
l be {maginany puxt
PAGE NO.:
()lboolco:
cslsto):