Python Assignments for CS-1

1Basicsfirstprog.pyAn Important Message5 points
2Basicsprintingchoices.pyPrinting Choices8 points
3Basicsescapesequencescomments.pyEscape Sequences and Comments12 points
4Variablescreatingvariables.pySaving Information in Variables10 points
5Variablesusingvariables.pyUsing Variables10 points
6Variablesgradvariables.pyGraduation Sentence with Variables7 points
7Variablesschedule.pyYour Schedule15 points
8Variablesmathoperations.pyMathematical Operations12 points
9Inputforgetfulmachine.pyGetting Input from a Human12 points
10Inputrudequestions.pyStoring the Human's Responses15 points
11Inputuserdata.pyMore User Input of Data16 points
12Inputagein5.pyAge in Five Years18 points
13Inputdumbcalc.pyA Dumb Calculator20 points
14Variablesbmicalc.pyCalculations with User Input25 points
15Variablessequencing.pyVariables Only Hold Values15 points
16Variablescardiozone.pyCardio Zone Unscramble15 points
17Variablesshortcuts.pyVariable Changing Shortcuts10 points
18Ifsnamelength.pyMaking Decisions with If Statements20 points
19Ifsspaceboxing.pySpace Boxing30 points
20Ifslittlequiz.pyA Little Quiz40 points
21Ifshuman-age-with-ands.pyCompound If Statements Using AND & OR25 points
22Ifsagemessages3.pyAge Messages 325 points
23Ifstwomorequestions.pyTwo More Questions35 points
24Ifshuman-age-with-else.pyChained If Statements Using ELIF & ELSE25 points
25Ifsagemessages2.pyHow Old Are You, Specifically?20 points
26Ifsnumberword.pyNested If Statements50 points
27Ifstwoquestions.pyTwenty Questions35 points
28Ifsadventure1.pyChoose Your Own Adventure!60 points
29Randomrandomnumbers.pyChoosing Numbers Randomly25 points
30Randomnumberguess.pyA Number-Guessing Game20 points
31Randomfortunecookie.pyFortune Cookie15 points
32Randomdice.pyDice25 points
33Randomoneshothilo.pyOne Shot Hi-Lo35 points
34Randomthreecardmonte.pyThree Card Monte20 points
35Whileenterpin.pyRepeating Yourself using a While Loop30 points
36Whiledicedoubles.pyDice Doubles45 points
37Whilenumberguesscounter.pyNumber-Guessing with a Counter40 points
38Whilehilolimited.pyHi-Lo with Limited Tries55 points
39Whilereversehilo.pyReverse Hi-Lo75 points
40Whilecoinflip.pyLoop and a Half35 points
41Dowhileshorterdoubledice.pyShorter Double Dice40 points
42Whilecollatzsequence.pyCollatz Sequence30 points
43Whilebabynim.pyBaby Nim, aka Empty the Piles60 points
44Whilenim.pyNim70 points
45Functionsyachtdice.pyDisplaying Dice with Functions35 points
46Functionsheronsformula.pyReturning a Value from a Function20 points
47Stringsstringmultiplier.pyString Multiplier30 points
48Stringsstartswithx.pyStarts With X30 points
49Stringsadverbprobably.pyAdverb, Probably (Ends With -ly)40 points
50Stringsstringreverser.pyString Reverser45 points
51Stringsispalindrome.pyIs Palindrome30 points
52Listslistbasics.pyList Basics40 points
53Functionsnumberlist.pyList of Numbers15 points
54Listsrandomlists.pyRandom Lists20 points
55Listsevensteven.pyEven Steven30 points
56Listshomeontherange.pyHome on the Range80 points
57Listshalfsies.pyHalfsies30 points
58Fileioreceiptrevisited.pyPrograms That Write to Files25 points
59Fileiogettingfromfile.pyGetting Data from a File20 points
60Fileiodisplayingafile.pyDisplaying a File60 points
61Fileiosum-whole-file.pySumming All the Numbers from Any File60 points
62Listsfibonacci.pyFibonacci60 points
63Listswhoknows.pyWho Knows60 points
64Functionsiscomposite.pyIs Composite Function30 points
65Functionsisprime.pyIs Prime50 points
66Listsnicesteak.pyNice Steak30 points
67Listssiamesetwins.pySiamese Twins70 points
68Functionssumprimes.pySum of Primes Under Two Million70 points
69Functionsprimefactor.pyPrime Factorization60 points
70Listssortme.pySort Me80 points
71Listssort2.pySort Me In Place100 points