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

Python Basics (Only Till If N Else)

Got this from bro code YouTube lectures

Uploaded by

keziah castillo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
27 views

Python Basics (Only Till If N Else)

Got this from bro code YouTube lectures

Uploaded by

keziah castillo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 12
Puno eT gfot C_) ——> add_ message. €q% _oxink (“ Kevwialn Cas Hilo) =] Variables ¢ data ‘pes } —b-—resicabie. cSnicicex fac sinsing a] JA\ve Qa HK = — _% Ys voriable X= 3 —eill, wehave as valve £4 sO aae, = 2) p ie Cone) Q age = 2-\ peot “C CYou are eat (age x"Gears oh”) BZ shy (aac) ig 0sed_ Yo syn caste no» Sioc 4 it. Aiweelly © Cone: GQ Mombte ell male ing 3 Conver { Nnle ma) tohh Certain Sale al pict (T4oo ore” age Years o\ za es —" oy aa Baas eC You ake Sag 4 wears ald i case re $2 - pee inne animistic ne car pre aera 5 MR ane prick Kemah Castillo”? KX var Halles 4 ~Aaka fyptece———_—__ pot 90 sousbie_Cootciner for Stoaing a — iri inlascinsiatignesiaea etait pie PL eo =) 1 49 yorble X23 —9 will pehave as valve my 2910). als — sola Pai Cage) oage - 2) as povot (You dre sty (age e\ilyeors 6 od”) a ee t freee Hy ogee ‘ ae SH Font _—» decima} nes 8. pricl (EC! gpk Eqpa4 gpa ines) Hot > Geries Shtext serecont in or 6 Ppt. , >) ame tia food = 1 Jackvust”? - ° 2 5 7 0: « Tie kid name 4° print (F Rates Strood 4 sme” F 1 = Boolean —» we o« falce |Rinor ne. & Nive Tort — cogs | ‘ pning = false , « rsias Ee DO 2 chy ged wo if ond e\se Adkewnersl « é priv a % ‘ oe po game. ag’? g « eae Print (gp me eer) « #C) = gonend edata type SH variable >type() y_/ = Ts cus a=-g < Dig 2 = 0,1, 2 FaA | enacted — ox ae ca | 222 ony sible A \ io — convertion a 7 ee {dip _anothe Exo ficht \rophicit - Z 24 o came = “kezioh™ ag e = 1d 99a = 6g Gtudest = “Tkue - => _exp licit cormersion Cmavvat) 2 —gpa= intCq ga 2 priot Copa) r ‘ 2) ——= _5kpes data Supe. : j—P2i Es Gye Cgpai + | age = baal (age) 5 Convert no. to age 5 rng thats not _O Mid fs foe Lap tic conversion CAvtoratical )_ ; fi Pexform | aq Certain Operations on tt é converts ae ) J O ut 2 ~H = 2. mcnaee ee User topuct + e input ( mes Shorog jo peta Gariable oneset Log + (6.4 a sal preteens Sane 2 By eg a a pe 2g Ono = lopvt CS Enter name’? adjective = inpbt Cm Enter description” ) verb = inpot C “ Foter action) Peisriaalctass ime anata e eee cree Z very Ying =p Badiective 2”) s Ootpot & — : Foter ome : Pelria Enter descripiino!-aracofelly Fate ockion t drinfiy 4 fle and Petia ere deinieing very gracefully P Yeuncl off neo. . 2 opto 2 de cma q | weeplt = math. Sort Co) Sqtorerost S01 result = math. call) voueds vp result = math flooy (20) counds down. fe Scie &@B eB @ ata 1) CixcumPeccace \ Vccle UCaoe 5 2 flaat(ineut (“Enron rod Gf circle") Civcom = 2* wath: & Yaduus - Prank (exe “Whe cove nefexeace ena | mot $ The Carcarseler ence $9 Prod (Cixe 02 a) | frre x : Eten coe feat og [Goer vad’ ’) aa 2 rodh-pi ¥ ona (radius , 2) fhe oxea%s » Seanad (orc, >) | a ae A/a \eopoxt Wot - = 1. i (oe vi <7 b= float Gnmer (Co Poer bb valve | BY 0 fe ID ly Le iy sis eageemenearnaanaaanag pxint (£" Gide c= Po 4”) i sIAr>P Perel rsaeoees — Compar'sor cea eee ae if alee stale meats yell: else if) “Aine Sot(saput (Ener i oes) 2 Sa \Reee ont (You axe, aug.ned wp”) ef aoe Keone don be as many ” cule Gor ain't born Ap fos. Si = puis = You gait abe et”) = aeyeccise3 &) Reseaqse = qu-(“ would dow tke God 1G fs) Seer 0 (YIN). ~) eee eT ant ("Great Wave Some foot”) else *, sit CS Store. aingo”) ‘Gl Gor_sale = False 8a. Coeeerer es pea CA Hetty yy routruks Fuck pre c Fuck") ,

You might also like