We'regonnakindofevolvedfromlastweek's textadventuregamethatwedid, whichwasbasicallythegistofthatwasthechatwroteallofthetextadventurelinesinthetextadventure, includingbranchingpathsandwhatnotandsortof I didn't really I havetoomuchof a sayintheprocess.
I wasthe, I guess, sortofthepersoninchargeofwritingdowneverything, compilingit, reallycompilingit, butrunningandmakingsurethateverythingwentaccordingtoplanand, uh, offofthatidea.
Whatifthatwouldbereallyfun?
Reallyinterestingistoactuallytake a stepfurtherthanthat.
Letuswrite a Pythonscriptfromscratch, maybemultiplepythonscriptswheretheonlythingthatbasicallytheonlylinesthatgointothescriptarewhatthepeopleinthechatactuallyendupwriting.
IfyouwanttocontributetothePythonscript, I needthreeMrDestructarrayedemojisfromyoubecausethatvisuallygoingtousethatasanindicatortosee, um, youknowwhowantstocontributetothecode?
I'm notnotcoldcallingonpeopletodayjustsothat I don't putanybodyonthespot.
Andpeople, maybepeoplearebusy.
Theydon't havetimetocomeupwithsomethingonLee.
Peoplewhoarewhowanttocontribute.
Allright, sohello, guyscopingAndColton's chair.
That's money.
I'm gonnagoahead.
I'm gonnacallpeekatyou, Andassoonas I callPikachu, I'm gonnaputthelistofnamestogether, andthen I wantthelistofnamesorputtogether, We'regoingthioonebyone, linebyline.
Gothroughitandbuildup a pythonprogram.
Soherewego.
Ready?
Uh, 123 Peekatyou.
Allright.
J.
P.
Guysfirst.
Nice.
So I'm gonnastartputtingtogether a list.
Sothe J P guylips v ruthless v.
Ava's Shawsomerot 61 92 andmurgmissile.
Um, I apologizeif I misspellyourname.
Sohasaretryingtomakesure I catchthemall.
We'lldothisjustfor a minuteortwo.
We'renotgonnahaveto.
Oh, did I missdiscodamaged?
I did.
What's That's mybedafterthisgoimaged.
Sohow's yourinjured?
Uh, hey, Whiteout 16.
Scaredtosignupfor a line, and I don't evenknowwhattheprogramis.
SotheremightWemightneedtospecify a rule, whichisthatyoucan't haveonelinerloopsAndifstatementsbecausethatcausesissueslikethiswhere, um, theruthless V sortofputusintoaninfiniteloop, andthenwehadtousethesamelinewithAbbyShelltocorrectit.
I mean, wecanexperimentwithitandseeandsee, youknowwherethingsneedtogo.
Ifwecouldget a lineofcodefromyou, andactually, whydon't wesaythatas a rule, maybesothatwecankeeppeopleonthesameline, keeppeopleonindividuallinesSowe'llsaythiswillsaythatthisisveyruthlessisAndtherewego.
Thisairwilldothis.
Boom!
Bringthisuphere.
So, technically, thisisnotonelinefromberuthless, butwhereitwillretroactivelymakeitwork.
Sotherewego.
Sosomeraw 61 92.
Let's getyouryournextline.
Oh, yeah.
I mean, ifyouwanttocontribute, I'llputyournameatthebottomofthescripthere.
So, um, meetMicrosoftIndia.
Allright, sosomeroute 61 92 Let's get a, uh, okay.
Sowe'regonnaactuallygetputin a parenthesesaroundthat, butthatshouldstillwork.
It'lljustprintoutthelist.
Has a listifyouwantto.
D'oh.
I think, Yeah, I thinkyouwouldneedtheprintactuallybeinthelist.
Comprehensioninthein a specificplaceoutsidetheIf.
Okay, sothisiscool.
I like I likewhat?
BuddyonRun's done a littlebitmoreofanadvancedfeatureofpythonofthelistcomprehension.
Butbasically, bunnyonrunhassaid, um, prince a B for a inCS 50 whipsCS 50 uhisandthen, uh, Coltonis, andthenspacethereinthespacethereandthenforbein, uh, great.
Andthenamazing.
Sovery, veryflattering.
Soifwerunthis, wewillseethatweget a sortof a combinationoftheCS 50 isgreat, andseafoodisamazing.
Ifanybodywantstobethepersontofixthat, but a t t dominate.
Youarethenextinline, solet's get a, uh, let's getsomeinputfrom a t t dominateAmendLine 19 pass.
Andthat's notevenanamendment.
Honestly, that's justthatwilljustbeyourline.
Sowe'llgoaheadandwell, addthathere.
Ah, actually, I realizedforconsistency.
Thisneedstobelikethat, and I putmoneyonrunsnameupabovehere, justcauseit's a verylongname, butfortheshorterarelonglineofcode, butfortheshorterlinesofcode, we'lljustwe'lljustputitofftothesidesopeoplecanseeat a glancewhocontributed, andwe'vegot a lotofcontributorssofartoday.