100 Days of Programming Projects: Reflections and Tips after Day 14 and the Beginner Level Section of the Course

Day 14 marks the end of the beginner level. I just finished that and all in all as expected nothing fundamentally new learned so far. Still, I had some refreshers here and there and learned a couple of nice tricks. Most days ended with a guided programming project that used newly learned concepts of that day. The last couple of days of the beginner section were basically only a programming projects without guidance, only instructions and a demo about the program to make. Day 11 was the so called capstone project that involved all concepts learned so far but but still breaking it down step by step. Day 12 was a project that you could try to solve with our without hints and then on day 14 no hints were provided. Some of the programming tasks were fun, mostly in the gaming sphere, and involved making use of all the typical programming constructs: lists, dictionaries, loops, conditional code and functions. The biggest challenge in these programming projects was to break down the problem and to get the logic right. And if you are a fan of this: to try and do it in an efficient and clean way resulting in easy to understand code without repetition.

  • Some rediscoveries and neat tricks
    • random.choice(somelist)
    • n % len(somelist) to index a list => always gives an index in the list range
    • f”some text {variable} more text” => How to format f-strings
    • rediscovered ascii art. Just for fun: back to the old days of command line graphics
    • Gauss’s formula: n(n+1)/2 and how he derived it
    • Assigning functions to variables and values in a dictionary and how to use them
  • Some of the projects were
    • Rock, paper, scissors
    • A random password generator
    • Hangman
    • Ceasar Cypher
    • Calculator
    • Blackjack
    • Number Guessing Game
    • Higher Lower

Leave a comment