Learning the key concepts of Python can help you understand how programs work while also imparting foundational logic that can serve you in other domains. Understanding what Python and computer programming can offer you both as a user and as a developer is important as technology is further integrated into daily life.
Table of contents
- Python 2 vs Python 3: Practical Considerations
- How To Install Python 3 and Set Up a Local Programming Environment
- How To Write Your First Python 3 Program
- How To Work with the Python Interactive Console
- How To Write Comments
- Understanding Data Types
- An Introduction to Working with Strings
- How To Format Text
- An Introduction to String Functions
- How To Index and Slice Strings
- How To Convert Data Types
- How To Use Variables
- How To Use String Formatters
- How To Do Math with Operators
- Built-in Python 3 Functions for Working with Numbers
- Understanding Boolean Logic
- Understanding Lists
- How To Use List Methods
- Understanding List Comprehensions
- Understanding Tuples
- Understanding Dictionaries
- How To Import Modules
- How To Write Modules
- How To Write Conditional Statements
- How To Construct While Loops
- How To Construct For Loops
- How To Use Break, Continue, and Pass Statements when Working with Loops
- How To Define Functions
- How To Use *args and **kwargs
- How To Construct Classes and Define Objects
- Understanding Class and Instance Variables
- Understanding Inheritance
- How To Apply Polymorphism to Classes
- How To Use the Python Debugger
- How To Debug Python with an Interactive Console
- How To Use Logging
- How To Port Python 2 Code to Python 3
| Pages : | 459 |
| Size : | 5.0 MB |
| Downloads: | 290 |
| Created: | 2022-02-02 |
| License: | CC BY-NC-SA |
| Author(s): | Lisa Tagliaferri |
Others related eBooks about How To Code in Python 3
This book is designed to introduce students to programming and computational thinking through the lens of exploring data. You can think of Python as your tool to solve problems that are far beyond the capability of a spreadsheet. It is an easy-to-use and easy-to learn programming language that is fr
Download free course IPython Interactive Computing and Visualization Cookbook, pdf file on 548 pages by Cyrille Rossant.
Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. Larger pieces,
Puzzle-based learning is an active learning technique. With code puzzles, you will learn f..., download free Python tutorial in PDF (89 pages) created by .
Download free course Think Python, pdf file on 244 pages by Allen Downey.