Skip to content

One hundred days of code in Python. 100 days, 1 project per day.

License

Notifications You must be signed in to change notification settings

jotavare/100-days-of-code-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Linkedin 42

AboutProjectsContributingLicense

ABOUT

This repository is dedicated to documenting my journey through 100 days of learning and coding in Python. Each day focuses on different concepts and practical exercises to build a strong foundation in Python programming.

PROJECTS

DAY 1

Working with Variables in Python to Manage Data

What I learned
Printing to the Console
String Manipulation and Code Intelligence
Debugging practice
Input function
Python variables and variable naming
Exercises
Print 3 Example Quotes
Debugging Practice - Fix the code
Print the number of characters in a name
Write a program that switches variables
Project
Create a Band Name Generator

DAY 2

Understanding Data Types and How to Manipulate Strings

What I learned
Primitive Data Types
Type Error, Type Checking and Type Conversion
Mathematical Operations in Python
Number Manipulation and F Strings in Python
Python variables and variable naming
Exercises
Add the digits in a 2 digit number
Body Mass Index (BMI) calculator
Life in weeks calculator (until 90 years old)
Project
Tip Calculator

DAY 3

Control Flow and Logical Operators

What I learned
Control Flow with if / else and Conditional Operators
Nested if statements and elif statements
Multiple If Statements in Succession
Exercises
Odd and Even Number Checker
BMI Calculator with Interpretation
Leap Year Checker
Automatic Pizza Order Program
Love Calculator
Project
Treasure Island game

DAY 4

Randomisation and Python Lists

What I learned
Random Modules
Understanding the Offset and Appending Items to Lists
IndexErrors and Working with Nested Lists
Exercises
Virtual Coin Toss - Heads or Tails
Banker Rouletter - Who pays the bill
Treasure Map
Project
Rock, Paper, Scissors

DAY 5

Python Loops

What I learned
Using the for loop with Python Lists
'for' loops and the range() function
Exercises
Average Height Calculator
Highest Student Score
Adding Even Numbers
The FizzBuzz Challenge
Project
Create a Password Generator

DAY 6

Python Functions & Karel

What I learned
Defining and Calling Python Functions
Indentation in Python
While Loops
Challenges
Reeborgs Wolrd Challenge 1
Reeborgs Wolrd Challenge 2
Reeborgs Wolrd Challenge 3
Reeborgs Wolrd Challenge 4
Reeborgs Wolrd Challenge 5
Final Challenge
Reeborgs Wolrd Challenge Maze

DAY 7

Hangman

What I learned
How to break a Complex Problem down into a Flow Chart
Exercises
Picking a Random Word and Checking Answers
Replacing Blanks with Guesses
Checking if the Player has Won
Keeping Track of the Player's Lives
Project
Hangman Game - Final Stage

DAY 8

Function Parameters & Caesar Cipher

What I learned
Functions with Inputs
Positional vs. Keyword Arguments
Exercises
Paint Area Calculator
Prime Number Checker
Project
Caesar Cipher (Encrypt and decrypt messages)

DAY 9

Beginner - Dictionaries, Nesting and the Secret Auction

What I learned
The Python Dictionary: Deep Dive
Nesting Lists and Dictionaries
Exercises
Grading Program
Dictionary in List
Project
Blind Auction

DAY 10

Functions with Outputs

What I learned
Functions with Outputs
Multiple return values
Docstrings
Combining Dictionaries and Functions
Print vs. Return
While Loops, Flags and Recursion
Exercises
Upper Case First Letter
Days in Month
Project
Calculator

DAY 11

The Blackjack Capstone Project

Capstone Project
Blackjack;

DAY 12

Scope & Number Guessing Game

What I learned
Namespaces: Local vs. Global Scope
Does Python Have Block Scope?
How to Modify a Global Variable
Python Constants and Global Scope
Project
Guess the Number

DAY 13

Debugging: How to Find and Fix Errors in your Code

What I learned
Describe the Problem
Reproduce the Bug
Play Computer and Evaluate Each Line
Fix Errors and Watch for Red Underlines
Squash bugs with a print() Statement
Use a Debugger
Debugging Old Projects
Debugging Odd or Even
Debugging Leap Year
Debugging FizzBuzz
Tools user for Debugging
Python Tutor
Thonny

DAY 14

Higher Lower Game Project

Project
Higher Lower Game

DAY 15

Local Development Environment Setup & the Coffee Machine

What I learned
Download and install Python Locally
Download and install PyCharm for Windows
PyCharm's Features
Project
Coffee Machine

CONTRIBUTING

If you find any issues or have suggestions for improvements, feel free to fork the repository and open an issue or submit a pull request.

LICENSE

This project is available under the MIT License. For further details, please refer to the LICENSE file.