0% found this document useful (0 votes)
12 views5 pages

Python Programming Basics and Examples

Computer programming involves writing instructions in a computer language like Python to perform computations like calculations. Programmers use integrated development environments like IDLE to write interactive Python programs that can perform tasks like finding areas and perimeters. Variables are used in programs to store values that can change while the program is running.

Uploaded by

R SRIRAM PRASADH
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)
12 views5 pages

Python Programming Basics and Examples

Computer programming involves writing instructions in a computer language like Python to perform computations like calculations. Programmers use integrated development environments like IDLE to write interactive Python programs that can perform tasks like finding areas and perimeters. Variables are used in programs to store values that can change while the program is running.

Uploaded by

R SRIRAM PRASADH
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

C ogromn

riday
Comute deice towhA
an gie thgtrucions to Cory Out a

ues anithmetic Logicc oetio


Jhese 6et istructions ane called
c o m u t prgranmirig. Tn ntle watds a
ogram a tet
82pena of instructiors het
secifeès howr to ezerun a Comhutation

specifie onguagss
thot asa used to wite poogrons
Ire languog ane called comhuuter
Ranguages Egt gara, C, C++ Pgthon, BASIC
ate

hon a
grtnl huwfose , titeractire,
high -level rogramng Vangunge e t ween t Can get a l l * ntht
9 wag Caeted ido Van Poss Command line.. ures tojeln

dtng 1985-19TO 962020


Frido stng Pythen(1nteractie moole)
TOLE Tntogratadl developrent Ennions a colculatoa
CEOLE i a tet edi to that eomes
ithhy thon) Juh oferatars
2 ways to rerih n
onat 4ication
ython 4oldtion
troction
nteractive mowe Multiation
PSoiE moole aion Sl2 2.5 1025.,
Interacivo mode -Scu mode Cduros 9e
Does not soie a 0 Comtm@nok Oan
car VR_ dacira value
Mncs entered &y ootono togeba n e utt)
Jorun aogran o amodue Ron Divri ioni 2-2,1oas,
8Cit
matie9
8andnidkd
Kmaiclegs 2 wnite a
ogram t calalate

Pemainder t
14l3z2 te aroa &8uaz 61de 20c
20c
dion
2 25 d Paunt (6 daea. ef the öyuare wh side
Enorential
6 20am is")
Pri 20 *20)

Q1) white oun hagamo eunt ye Q3 woute a


Hoga Eo calculot t
ad addaes8 and emete actorg
uith korgth o and B a d h 20
Hanthik P Naie
Bhavar Varuna lidyalaya ea Punt("raa aedtarg uth
haihh akara eng th 10 Cn anod 8uadth 20cm
anahulam
Perumeten
Print ( Perumeten
dsPrnt ( Kantwk *Nain) ectange", 2*(1ot2%, Cn)
Prunt Bhaworis Vanra
Phunt (Jhoihhahara")
idyolaya')
Punk (" nahlam")
ott ef lopen6
a cost Pind out the cost
Q49 Print t TSOl-_ ttote cast 1Shg i o
fen F978.
cost
dns)Print (Jka cast ef 1ohens, t e ,97s/15)
v Eso]- i B " ) dra:) Print (Cost af Ig ie
are en
Print [o*50)
Find out uotiont and nemaindes

Q5) Pairt e total BQ don Guyng 125/8


ochoollag (Rs.5o) rda Rs 6o) a
eooh CRe. 750) dnarint( «Quotert f12s and , 12sla)
PAint(Remaorcbr 2 s and9 2 sI2s 8)
ds Cos ezchokbag 14la8/ac2o
Print("Cost ef ore 8hooeeag ="" so) Fruday Camnes
Print( Cost ef one Umerella= , 600)
Pin (Cast one Gok= 750) In yhon 1 onre stat art'th F
Print (otal G=", Soo Goo rCo yeR nyhing itenofter # in a
gheed
ntenpoeter
Vsiabes Rulesa raminq azualtaz

oacole anidntyen hcse vae heyBaard cannot Ge wed a

named 6 totge a
asiabl nare.
nChange Jhey
that honti taaaluo nal
kaakiang
hase value Can ee wed and Do 1 6heula tart rith a lettr a an

ding rogham un noerscaa (-):


Ccnnot Contan any shecial
Eg X=lo Chanacten erceft an undexSCARA
tene 4 hointing aeea 10
Wota tyhes r ythan

t Ploan ntegens IS0, 860


s ihve satie 185
10 37
Rserdgooin haint val65,68 360S7
Relhnesents oction gvv
chaacte encloted lhn

You might also like