Skip to content

Repository files navigation

TeachMePythonLikeIm5

GitHub top languageGitHub contributorsGitHub issuesGitHub 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

TutorialLink
Getting started
Your first python programhello-world.py
Commentingcommenting.py
Variables
How variables workcreating-variables.py
Booleansbooleans.py
Integersintegers.py
Floatsfloats.py
Stringsstrings.py
Operators
How operators workarithmetic.py
Assigningassigning.py
Comparisoncomparison.py
Lists
How to alter a listalterning-lists.py
How to declare a listdeclaring-lists.py
How to index a listindexing-lists.py
List comprehensionlist-comprehension.py
Conditions
How to make conditionsif-else.py
Loops
How for-loop worksfor-loops.py
How while-loop workswhile-loops.py
How to break in a loopusing-break.py
How to continue in a loopusing-continue.py
How to pass in a loopusing-pass.py
Functions
How to declare and call functionsusing-functions.py
How to make a recursive functionsrecursive_func.py
How to make a lambda functionslambda-functions.py
Common built-in functions
How enumerate worksenumerate.py
How input worksinput.py
How join worksjoin.py
How len workslen.py
How range worksrange.py
How replace worksreplace.py
Exceptions
How exception worksexceptions.py
Using modules
How modules workimporting-modules.py
How pip worksinstalling-with-pip.py
How to create modulescreating-modules.py
How to use virtual environmentsusing-virtual-environments.py
File handling
How to delete a filedeleting-files.py
How to read a filereading-files.py
How to scan a filescanning-files.py
How to write a filewriting-files.py
Dictionaries
How to iterate over a dictionaryiterating-over-dictionaries.py
Basic tutorial on dictionariesusing-dictionaries-basic.py
Advanced tutorial on dictionariesusing-dictionaries-advanced.py
Decorators
How to use decoratortimer.py
Sets
How to create a setcreating-sets.py
How to modify a setmodify-sets.py
How to remove set elementsremove-set-elements.py
String formatting
How to use f-stringsfstrings.py
Tuples
Basic tuplestuples-basic.py

About

Teach the Python programming language using a collection of super beginner friendly tutorials and challenges.

Topics

Resources

Contributing

Stars

29 stars

Watchers

2 watching

Forks

Contributors

Languages