Introdvction Py Progra: To Thon Mning
Introdvction Py Progra: To Thon Mning
COLLEGt OF ENGINEERING
DEPARTMENT
MECHAN/CAL ENG INEERIMG
MODUL E NO 1
Introdvction to Py thon Progra mning
CORONEL,Lemvel B.
BSME-1B
s. RT- parallel=1/(1R1+1/R2)
polsgon hus
Jengtt S.
of he polygon
Wte apreg re caled cale-polygos thaf akesandtho hearquments,
perimeter
to four dunlees.
of a gien egar polygon roundeodof
1o-floatlatl'at he h.-ler f silegi ) )
each sidei )
2s =float (rsput(iput te lenyth or
3
,Pin's
print('Ke
Problem
celstofuhrenheit
Woite on proqramn ca lled
eperuture,
which prronpts e ser tor a celsis t
conert he temetne to fuhrenseit, nd piat at
fhe conicted teperatue.
Celeis. ))
1 Cefloatinpt ('input the temerutre ia degree
2
3 f=(C*/5) + 32
4