This site contains materials and exercises for the Python 3 programming language.
In this course you will learn how to write code, the basics and see examples.
- Complete Python Bootcamp: Go from zero to hero in Python
- Automate the Boring Stuff with Python Programming
Table of Contents:
- Getting started
- Exercise 1: Execute Python scripts
- Exercise 2: Variables
- Exercise 2.1: Strings and Text
- Exercise 2.2: Random numbers
- Exercise 3: Keyboard input
- Exercise 4: Conditions
- Exercise 5: For Loops
- Exercise 6: While loop
- Exercise 7: Functions
- Exercise 7.1: Optional parameters
- Exercise 8: List
- Exercise 9: Dictionary
- Exercise 11: Read file
- Exercise 12: Write file
- Exercise 13: Nested loops
- Exercise 14: Slices
- Exercise 15: Multiple return
- Exercise 16: Scope
- Exercise 17: Time and Date
- Exercise 18: Class
Python is a programming language supports several programming paradigms including Object-Orientated Programming (OOP) and functional programming.
Python 3 is backwards-incompatible with Python 2: If a program is made for Python 2, it cannot be run on Python 3 without modifying code.
The philosophy of the Python language is:
Beautiful is better than ugly Explicit is better than implicit Simple is better than complex Complex is better than complicated Readability counts