0% found this document useful (0 votes)
26 views4 pages

Python Ex4

Uploaded by

Arnav Goel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views4 pages

Python Ex4

Uploaded by

Arnav Goel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Undoutanding the Bauie Paythonc

(Bauie Stutue fuyhen)


Ex:4
Date i12 b]2024
the
Atalemunly.
thon Codu :
Pysbium I: Find the um o tne numbsed
ython Cod:
2: ")"))
b pat input ("Enter numbn2:
Swm =atb
Psunt (suum )

Endo umb 1:4


Ente umb 2 :6
lo.0

b tiat (input (° tnto nmbiN1: "))


(unt ( Erdn nuunbsn 3: ))
Sum = atbtc
A\age su3
unt (AwHe)

Ent TUbe 2:B


Ento umben 3:2
5.0
P'uetlum 3: Find' the Veume a eubet

fythen Code :
a =

Pint(VHue)
512.0

Puobum 4: Find, the Aa nd p a


Cede:
=

Ae = 3"14*H**2hoh
P i m e = * 3.14
Pint (Aa)
Psuünt ( Peimte)

pint (yimaty)
Erte adis t a liele = 3
28.26

18-84
lius. Conusut
Paeblum 5 : (4et the tumpatue un Keluin and Faunhit
tempatuse nte
Python ode :
usius ")
1- ot (unput l°Entue tumAatus in
T*(95)+ 32
K= T+ 213.15
F)
paint (" 1uuatuu un Fasunhit -",
", K)
pant l Tempade un Kuuin

1umatusu n Kuin = 300.15


fsblem 6: Fund thu umle Inteust muued by the wient
naly kou the puovidd va' prinige,

P (at(input ( tnto pintipli amsunt'= ")))

"))

S1 P n100
pint (" siümpe Intout is , SI)
Butaut :
Entor Pineipd amunaunt 00hatet
Ente Rade Inteut
Ent numb = 2

Pucbmti alela the tutum B a atudent. 4et


the total numbi yAbis that the
ad Ro. 500

=N* 500

Entu 1etal nwmb


Teta Let 2500

Pasblum 8: Calewlae bh the nd at


iuin he queunthPay
the total wak ha
yeu hae t o muialy the
ate. lodinune te nt
Aubtnat any dedueluns the umleye
Iuthan lde':
Pytat Heat(input(" Entu puy ali og an umplayee
= oat (input |" Enteu total numbur o heecteing
hows "))

nto any dedueon the ampleye


yacetuy Puyfate Howw
Guoufay - D r d
,Nu Pay)
Autpt
Entu puy Made an umpleye 200
dudsiins the = l00 0

yMes Pay an wmplye |220000-0


LI9000.0

python ode u deuelud and the


the qen puetlemi .
sutput

You might also like