Skip to content

inspirezonetech/TeachMePythonLikeIm5

Repository files navigation

TeachMePythonLikeIm5

GitHub top language GitHub contributors GitHub issues GitHub Workflow Status

You are welcome to contribute to this repo. See the CONTRIBUTING.md for more info

TeachMePythonLikeIm5

About this repo

A collection of super beginner friendly tutorials and challenges to teach the python programming language. Each file contains:

  • A tutorial explaining a concept in python
  • A challenge or set of challenges to complete

List of available tutorials

Tutorial Link
Getting started
Your first python program hello-world.py
Commenting commenting.py
Variables
How variables work creating-variables.py
Booleans booleans.py
Integers integers.py
Floats floats.py
Strings strings.py
Operators
How operators work arithmetic.py
Assigning assigning.py
Comparison comparison.py
Lists
How to alter a list alterning-lists.py
How to declare a list declaring-lists.py
How to index a list indexing-lists.py
List comprehension list-comprehension.py
Conditions
How to make conditions if-else.py
Loops
How for-loop works for-loops.py
How while-loop works while-loops.py
How to break in a loop using-break.py
How to continue in a loop using-continue.py
How to pass in a loop using-pass.py
Functions
How to declare and call functions using-functions.py
How to make a recursive functions recursive_func.py
How to make a lambda functions lambda-functions.py
Common built-in functions
How enumerate works enumerate.py
How input works input.py
How join works join.py
How len works len.py
How range works range.py
How replace works replace.py
Exceptions
How exception works exceptions.py
Using modules
How modules work importing-modules.py
How pip works installing-with-pip.py
How to create modules creating-modules.py
How to use virtual environments using-virtual-environments.py
File handling
How to delete a file deleting-files.py
How to read a file reading-files.py
How to scan a file scanning-files.py
How to write a file writing-files.py
Dictionaries
How to iterate over a dictionary iterating-over-dictionaries.py
Basic tutorial on dictionaries using-dictionaries-basic.py
Advanced tutorial on dictionaries using-dictionaries-advanced.py
Decorators
How to use decorator timer.py
Sets
How to create a set creating-sets.py
How to modify a set modify-sets.py
How to remove set elements remove-set-elements.py
String formatting
How to use f-strings fstrings.py
Tuples
Basic tuples tuples-basic.py