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: | 121 |
Created: | 2022-02-02 |
License: | CC BY-NC-SA |
Author(s): | Lisa Tagliaferri |
Warning: Trying to access array offset on false in /home/tutovnfz/public_html/amp/article-amp.php on line 263
Others related eBooks about How To Code in Python 3
Download free course Python for Everybody, pdf file on 247 pages by Dr. Charles Severance.
This book is a complete presentation of the Python language. It is oriented toward learning, which involves accumulating many closely intertwined concepts. In our experience teaching, coaching and doing programming, there is an upper limit on the "clue absorption rate". In order to keep within thi
Download free course A Byte of Python, pdf file on 117 pages by Self-publishing.
This book uses Python to introduce folks to programming and algorithmic thinking. It is sharply focused on classical algorithms, but it also gives a solid understanding of fundamental algorithmic problem-solving techniques.
The user-friendly, object-oriented programming language Python is quickly becoming the most popular introductory programming language for both students and instructors.