Python for Beginners

Page 1

Python for Beginners: A Slow & Detailed Guide 0 - First, Some Basic Information 0.1 - What is programming? 0.2 - Why Python, specifically? 0.3 - Where to program along with this book 0.4 - What the compiler is actually doing 1 - Printing & Variables 1.1 - Basic printing 1.2 - What are variables? 1.3 - Basic variable types 1.4 - Math 1.5 - Inputs 1.6 - Type-casting & printing together 1.7 - String indexing, formatting, and tricks 2 - Data Structures 2.1 - Lists 2.2 - Dictionary 2.3 - Tuples 3 - Logic Gates 3.2 - If statements 3.3 - Elif & else statements 3.4 - While loops 3.5 - And/Or 3.5 - For loops 4 - Functions & Classes 4.1 - Functions 4.2 - Classes 5 - Libraries 5.1 - What are libraries and how to use them? 5.2 - Example library: random 5.3 - Example library: time 5.4 - Example library: turtle Speedrun Python:

Ideas: Say type in “import this” to console


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.