Professional Documents
Culture Documents
b=-3
C=25
d=-lo
atbtc>at(-b*a'ortotir
6, Nat would be the output of tho
follew?g ode?
Explafn Reason
a=3+5g
b=Fnt(34 b/:)
e tflot (6/s)
a+-loat C6)/8
e+6o/s
t (3+5 /8.o)
n t Ca,h caet)
Ye a og Yam to vead hase tength),utdthCu). kagkt() ef
parallelegYam d Calctate ts oea and Peofmeter =24
D Nkat utll be t outut t Poput fer both the Statem ant s F/2
6:sfput/valu )
d- Sty Cb)a69
PYint (cs
e-Tnpt ["nt)
Prtnt [c==e)
,Corplex
, Tntfloat , boolean
2, 0,| Can also used în Booleon, TYul,,false. Bool C) Can be use
3, /4 = 4 olD=l
(4)4 =4. 26 o/p=4
13
Rarman-parman
5 b+(-3)4 25 >642-(-3)*Eh
24>165
op -2>165 FalSe
hatrt(tnput('Erter \8ght:)
Prtntlare)
Pint(Pei)
8,
Yplicitdtde Tmpltcit
* Whon we Convert a datatPe when the CompileY ConveYted
nto anotY by Jyrtakdotatyfe automaliCoally from one datotype
to onothY
*Fg:înt(6/3) o/p:2.0 6.0
Value 2
13, d248*6/3
d= 5*2.0
PY?nt Cnae)
Pintnomc
b) a=bool Co)
b=booll)
Pr? nt (o-false)
else:
C=yat-n