Python by example

Python is an open-source programming language known for its simplicity and readability. It is used in a wide range of applications, from web development to data analysis and machine learning.

This is a hands-on collection of bit-sized Python examples, meant to be a reference for beginners and experienced programmers.

This project is inspired by the simplicity and clarity of

  • Hello World
  • Values
  • Numbers
  • Strings
  • Formatting
  • Boolean
  • Variables
  • Operators
  • Loop
  • While
  • If Else
  • Switch
  • List
  • Dictionaries
  • Functions
  • Classes