ankitpro / Solving-100-exercises

Solving Python problems and creating programs from scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solving 100 Exercises

From beginner level to experienced. Most of them require building programs that do certain actions, some require fixing a bug in an existing program and a few will ask for changes for improving some existing code. The content of the exercises cover all Python basics and also third party libraries such as Pandas, Flask, etc.

Udemy course

Installation

  • Exercise 14:

    pip install more_itertools
    
  • Exercise 82:

    pip install pyephem
    
  • Exercise 83:

    pip install pyobjc
    

    If running on a windows machine:

    pip install screeninfo
    
  • Exercise 84:

    pip install pyglet
    
  • Exercise 93:

    pip install glob2
    
    
  • Exercise 99 and 100:

    python3 -m venv flask
    flask/bin/pip install flask
    

❗ For Exercise 98 I used Python 3 because: tkdocs

Tkinter are included with all standard distributions on Mac OS. If you're a masochist and want to read about other Tcl/Tk options and variations and how they interact with Python, see the Mac Tcl/Tk page at python.org.

😧


My total points is 216! Advanced level, according to the course! ✨


Table of Contents for Exercises

  • Code
    • Exercise 01 - Variable Updating
    • Exercise 02 - Naming Rule
    • Exercise 03 - Compare vs Assign
    • Exercise 04 - TypeError
    • Exercise 05 - Sequence Indexing
    • Exercise 06 - Sequence Slicing
    • Exercise 07 - Sequence Slicing
    • Exercise 08 - Negative Indexing
    • Exercise 09 - Negative Slicing
    • Exercise 10 - Sequence Item Picking
    • Exercise 11 - Ranges
    • Exercise 12 - More Ranges
    • Exercise 13 - Ranges of Strings
    • Exercise 14 - Removing Duplicates
    • Exercise 15 - Simple Dictionary
    • Exercise 16 - Accessing Dictionary Items
    • Exercise 17 - Dictionary Items Sum Up
    • Exercise 18 - KeyError
    • Exercise 19 - Add Dictionary Key
    • Exercise 20 - Apply Function to Dictionary Items
    • Exercise 21 - Dictionary Filtering
    • Exercise 22 - Formatted Print
    • Exercise 23 - Multilevel Indexing
    • Exercise 24 - Iterate Dictionary
    • Exercise 25 - Print Alphabet
    • Exercise 26 - Print Range
    • Exercise 27 - Acceleration Calculator
    • Exercise 28 - TypeError
    • Exercise 29 - Liquid Volume Calculator
    • Exercise 30 - Arguments
    • Exercise 31 - Function Blueprint
    • Exercise 32 - Global Variables
    • Exercise 33 - Local Variable
    • Exercise 34 - Local Vs. Global Variables
    • Exercise 35 - String Splitter
    • Exercise 36 - Word Counter
    • Exercise 37 - Advanced Word Counter
    • Exercise 38 - NameError
    • Exercise 39 - AttributeError
    • Exercise 40 - TypeError
    • Exercise 41 - Letters in File
    • Exercise 42 - Iterating Multiple Sequences
    • Exercise 43 - Letters Two by Two
    • Exercise 44 - Letters Three by Three
    • Exercise 45 - One File per Letter
    • Exercise 46 - Letter Extractor
    • Exercise 47 - Conditioned Letter Extractor
    • Exercise 48 - IndentationError
    • Exercise 49 - Pass
    • Exercise 50 - Text Input
    • Exercise 51 - EOF
    • Exercise 52 - String Formatting
    • Exercise 53 - Multilevel Dictionary
    • Exercise 54 - Modifying Multilevel Dictionaries
    • Exercise 55 - Adding to Multilevel Dictionaries
    • Exercise 56 - Dictionary to JSON
    • Exercise 57 - JSON to Dictionary
    • Exercise 58 - Add to JSON
    • Exercise 59 - Enumerator
    • Exercise 60 - Infinite Printer
    • Exercise 61 - Timed Printer
    • Exercise 62 - Progressive Timed Printer
    • Exercise 63 - Progressive Time Printer with Threshold
    • Exercise 64 - Executing Next Statement
    • Exercise 65 - Ignoring Next Statement
    • Exercise 66 - Translator
    • Exercise 67 - Advanced Translator
    • Exercise 68 - User Friendly Translator
    • Exercise 69 - Requests
    • Exercise 70 - File from URL
    • Exercise 71 - Letter Counter
    • Exercise 72 - Google Searcher
    • Exercise 73 - Data Multiplier
    • Exercise 74 - File Concatenator
    • Exercise 75 - Data Plotter
    • Exercise 76 - Date and Time Generator
    • Exercise 77 - Year of Birth Calculator
    • Exercise 78 - Password Generator
    • Exercise 79 - Password Checker
    • Exercise 80 - Advanced Password Checker
    • Exercise 81 - Username and Password Checker
    • Exercise 82 - Astronomy
    • Exercise 83 - Monitor Size Detector
    • Exercise 84 - Pyglet
    • Exercise 85 - Data Cleaner
    • Exercise 86 - Data Checker
    • Exercise 87 - Add Missing Data
    • Exercise 88 - Data Filter
    • Exercise 89 - Database Filter
    • Exercise 90 - Database to CSV Converter
    • Exercise 91 - CSV to Database
    • Exercise 92 - File Counter
    • Exercise 93 - Recursive File Counter
    • Exercise 94 - URL Cleaner
    • Exercise 95 - Comma Separated Input
    • Exercise 96 - File Writer
    • Exercise 97 - Advanced File Writer
    • Exercise 98 - Desktop GUI
    • Exercise 99 - Data Writer Web App
    • Exercise 100 - Username and Password Checker Web App
    • [Your Python Skill Level
  • inputs&outputs
    • company1.json
    • Figure75.png
    • files
    • subdirs
    • countries_raw.txt
    • countries_missing.txt
    • countries_by_area.txt
    • database.db
    • ten_more_countries.txt

About

Solving Python problems and creating programs from scratch


Languages

Language:Python 100.0%