0% found this document useful (0 votes)
23 views

CSE101 Basics

Uploaded by

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

CSE101 Basics

Uploaded by

marbaschu86
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 15
-y TMenpneted > oP > Baynes Footy . : - = Th prick oct print (10) prink (0-5) O hei er fwe (Xn Print Caves ease" ere vel ) print © Mabldl me > G_emment : oe H The 6 a comment ~ te Suge Line & r wt mw «< “thy . > Mall tived. is a [>-o1 = nye Corament : Scanned with CamScanner 5 Pack _Canaclor_[ Faespe _Saypense= Ane new (he ME os bb age 24" spt Bed 4yimmes A a pant (“ Venom! * Tow) > Venton = i 2 pot CM vame 16 « iy vane) print ( mame aig wy age “yee old J » “a Be cane age s iw ‘ye variable Scanned with CamScanner | > Basic_Namenical ion ¢ print ( 1246) print (an -4) print (299) oo PIRAYS (a204) Be Ranull il covne ow CdR) pint (2224) print (18/4) > 4-9 h be Buben Not print (184) > 4 yf ei icant ind) He lan wags L 48'S floon value is 4 on © EON. oe os OAS SA 6 es paid (44g 2) oe SPB 54 feya? SE Frponenkation Scanned with CamScanner > Gay bo Ba : name = inpul(" Fler a = inpal ( ("Een fe 7 ) +8) ge Ts in) low) we sear a fapat — is Halen’ in | a ye ee (onan) ting ab ow =F fy dlbee's debe. Te onlen fo onvent ; : wind = input ("Bolen Sat wabeber: * ) ee Ger unt Poult iy loz met 12. = Myo a2" = Myo" i Wa 2 coz, Que Se, the Tnpile ane “hacen in wep Welye Ho eave Hem into wt How @ Scanned with CamScanner $e, we can do is: num = int (noms) ink (numa) Wd past ("The nd te“ enue') oS Moats ehrore > Becaune num is row ink Ss, wh ("Tel ile" pew) > Now Wis “ewe os vena aaa procenn, Beaune ue vt tne fp ds Lot oP nutmenieal operations ab over. re He ore a cast while puch tases Then we en =i c boning tw d [s na fe wet wa variable 00 Auch iw Crest Fele | Stak vee: “)) yum) = wt Ge tte ‘nd wanler:)) Let " ram. \ 7 feal'l = vor % won 2 Aun = pet ("Ke Oe a can < Wns preety Scanned with CamScanner Tren, quia = Wom) tau 2, rams | pret (Mews, aye is May awn) oe Wale Pre Point fo be woth Gee, oe ae tee ental. tie degree anit i ’ e cant Vike befine- polled peels ‘C “sual let tt) tie . Ine = inet Be Ines y 1 lad ler Post ( ‘apt te Elen tg ay oe et base bape oa 2 pt ae)” Scanned with CamScanner = Mala _nelated te fan [fem rath ingen # a. 4 rath rela ie 7 i We wit impont if while univy Hee below tun ly wax ( 24,80) 9 Fd dhe mac valine .! 1 print (meen 49)) > Frirdy 20 sslee % ygyh let yax-volae = wax (24,10) > a ina lle ’ A min (20,39) Fido bike amin valug, ) abs (-4) > Fedo He abadlufe value ce van => Renalt is ofoun mn Poa # grt (25) > Firda eo ase ae brie = Renulh han wn Punt , # vtourd (3-2) > ons Te veaneat whole velue + Sows CA 9 noundl3-8) > Shes 4 2) > Ua wowed 46 2 dy & allen.) > Stoas 3:45 # mound (3456, Scanned with CamScanner “ne @) Ho fen (33) Sows fle Poon value OF ey teil (33) > Slows the ceil value (A) Haag Sh cpp pe rfinchied ht bE (9S ) sag | 2 pe Ranclion: e- ((ob 8 ipe() 2 howe te ei o wt ie pum = 100 . prnb(Lpe (mn) > ail nclat eee = fnbole? 2 fore print (ype cae 5))> ill reba a” Pik a ' paint Cape (" how ) us ‘dan ‘den ra print (lyre CT) ) > rela en to” oe Scanned with CamScanner A] # Shins Farmal Yurmt = 50 yum? = 30 prin! (Sur is: ") nut t muna," DifPenenee iss", mamt -neme ) Wit shows [Sum ig: 90 DiPPonenee is: 20\ reqs PMP Tn Suppone qe wart 4o plow + sogleiae * Hts beg g 7 Then we've to do neg bree Scanned with CamScanner poet (" Mabubul May, Hier ") , paint Cc we") 7 vi n fiver But; as will dow fu ditlrert Is ; s priv (" Mabbubul are "end a, “quB" al _ print ( 108") . . | Tt will obow? _ [rata hy ogee “STUB i asin qeibenvreed preci tb ‘ot ye ee werk she pee > Rational [Compasizom _ Operstene: | Reciult"/ ull come. im, boolean slg, Tie/ Fike) 2 } f + privet ( 2-310),, > True print (20 |= 30) > Trae print (1 Venem™ cs" hon) «5 Foe Scanned with CamScanner Statements, We pwiek (ant gee”) ps Cid 18 expriercion A : cokes Oy oan es 982 L coe Pea Bee") eS elae pelt og D else, Coes Sis print oo) pont C Retien luck need Here Scanned with CamScanner maths = 88 70 WP expnension : , = 84: : dabemenls iP me PS aarti pit (AY) eli expression: ativsmrel? _\ elit wake 5 =75- Shhemeds ; ; OY) aeey prt (" A-*) Will ring (se, ‘ " “ basa, MWR mmanke >= ¥0+ bee Shahements pried (*84*) — prt (Rasy) Note Heady. ally the 4, P eanditions ame Reeleed Bat ie SS. Shecked +» denmg of et, if, F iow exeeated Hen the remnarh eh will deck, TP Mak eb is executed its wall jprore a Me el ele carditis lelous He Scanned with CamScanner ade Ft Ele: Mos brwun ap noel iP eae sled) yond <> nums = 10 : wing = Fb bees ep youn wumg = A5 Th wut > Mums PNG iy rue (4) he dh Me teal” iB vaumy > numa, <— Then check iP Aids Ir tnue Ui) pint (nem) eter ee BA en tle Mi print (nu) else <— PF (WD iw't ue Yen iF vue 2 > hamd ) 7 poset (mum) gens , x eau / Noe Mel, we am chin eh here 29, well. re ve Scanned with CamScanner > Tang a b= Lima ung $° dhorten Te on HOI C - a cabes. ad ft Trek of 4s, oy df > emer tony ip vend vy ramet Brower) frit pet bole oe che: pred (wam2) eg Ap sherk ting Herman ope \e q 4 : emi >ran, ee ham) 4 print (mms Pris wt ) che Pky s thom gee ue Bok us dave the name dubeome Scanned with CamScanner Jed = 'o* TP any of Hee condition 15 drue, dhen 9 youd! will be printed iP det seta! on deb cstel an ded 15! on dest sstat on ted s2tuts print ("Vowel") whe: prt ic Cowatrant >) Noy, , BP manko > 80 ard rrako < 100: 5 w pint (S-s408) Tis condikon is 80 < manke < 106 Bute Wasike { We ean we, if G0 < monks < 00 * paint ( 4-00) Scanned with CamScanner

You might also like