Skip to content

sworupkhadka/Python

Repository files navigation

100 Days of Python Bootcamp Projects

This repository contains several Python projects I have created while doing the 100 Days of Python Bootcamp.
The projects demonstrate a mix of basic Python concepts, logic building, and Object-Oriented Programming (OOP).


Table of Contents

  1. Overview
  2. Projects
  3. Features
  4. Requirements
  5. How to Run
  6. Author

Overview

During the bootcamp, I have worked on a variety of small projects to practice Python programming, problem solving, and OOP.
These projects range from console games to utility programs, each highlighting different Python concepts.


Projects

🔹 BMI Calculator

  • Calculates Body Mass Index based on height and weight
  • Uses simple arithmetic and conditional statements

🔹 Tip Calculator

  • Calculates tip per person for a bill
  • Covers input handling and basic math operations

🔹 Treasure Hunt Game

  • A text-based adventure game
  • Uses nested conditionals for decision making

🔹 Pizza Order Program

  • Calculates pizza order cost based on size, toppings, and quantity
  • Introduces variables and user input

🔹 Rock, Paper, Scissors

  • Two-player console game
  • Uses random module and conditional logic

🔹 FizzBuzz

  • Classic programming challenge
  • Teaches loops and conditionals

🔹 Hangman

  • Guess the word before running out of attempts
  • Practices loops, lists, and string manipulation

🔹 Cipher Encoding & Decoding

  • Implements simple encryption and decryption
  • Introduces string handling and loops

🔹 Calculator

  • Basic arithmetic calculator
  • Demonstrates functions and input validation

🔹 Black Jack Game

  • Card game simulation
  • Uses lists, loops, and conditionals

🔹 Number Guessing Game

  • Guess the randomly chosen number
  • Uses random module and while loops

🔹 Follower Compare Game

  • Compares Instagram follower counts of two profiles
  • Introduces data handling and conditional logic

🔹 Coffee Machine Simulator

  • OOP project simulating a coffee machine
  • Handles drinks, resources, and transactions

🔹 Quiz Game (True/False)

  • Interactive True/False quiz
  • Fully OOP-based using Question and QuizBrain classes

Turtle Graphics Projects


🔹Sketch Using Turtle

  • Interactive drawing tool using turtle graphics
  • Draw freely with mouse movements
  • Change colors and pen size dynamically

🔹 Turtle Race Game

  • Six colorful turtles race to the finish line
  • Place bets on which turtle will win
  • Random movement with finish line detection
  • Concepts: Lists, random module, event handling, coordinate system

🔹 Spirograph Drawing

  • Creates beautiful geometric spirograph patterns
  • Customizable circle size, gap, and colors
  • Concepts: Loops, trigonometry, color manipulation

🔹 Random Walk

  • Simulates random movement patterns
  • Random color changes and directions
  • Concepts: Random module, loops, coordinate plotting

🔷 Multi-Shape Drawing

  • Draws multiple geometric shapes automatically
  • Changes colors for each shape
  • Concepts: Functions, loops, geometry calculations

🔷 Snake game

  • Classic snake that moves, eats food, grows longer, and ends on collision
  • Concepts: Uses turtle graphics, loops, collision detection, and keyboard control

Features Across Projects

  • Strong emphasis on Python fundamentals (loops, conditionals, functions)
  • Practice with Object-Oriented Programming (OOP)
  • Hands-on use of Python modules (random, time, turtle, etc.)
  • User input handling and basic error checking
  • Modular and clean coding structure for larger projects

Requirements

  • Python 3.x
  • No external libraries needed (all projects run in console)

▶ How to Run

  1. Clone or download the repository.
  2. Navigate to the project folder in your terminal or IDE.
  3. Run the Python file of the project you want to try:
    python3 project_file.py

Follow on-screen instructions for each project.

Author Sworup Khadka Currently learning and exploring Python through the 100 Days of Python Bootcamp.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages