Email the Author
You can use this page to email chamsseddine rebbaj about Python programming with practice from beginner to advanced: 1st part.
About the Book
what's inside?
.onboarding process
Installation and Setup
.chapter 1:Vital Python: Math, Strings, Conditionals, and Loops
Overview
Vital Python
Spacing in Python
Complex Number Types
Changing Types
Variable Names
Comments
Docstrings
Strings: Concatenation, Methods, and input()
Escape Sequences with Quotes
String Operations and Concatenation
String Interpolation
Casting
The input() Function
String Indexing and Slicing
Logical Operators
Comparing Strings
Conditionals
if else
The elif Statement
Programs
The for Loop
Summary
.chapter 2:Python Structures
Overview
The Power of Lists
Matrices as Nested Lists
Matrix Operations
Matrix Multiplication Operations
List Methods
Accessing an Item from a List
Adding an Item to a List
Dictionary Keys and Values
Zipping and Unzipping Lists Using zip()
Dictionary Methods
Tuples
A Survey of Sets
Set Operations
Choosing Types
Summary
.chapter 3:Executing Python: Programs, Algorithms, and Functions
Overview
Python Scripts and Modules
Shebangs in Ubuntu
Imports
The if __name__ == "__main__" Statement
Python Algorithms
Time Complexity
Searching Algorithms
Basic Functions
Positional Arguments
Positional and Keyword Arguments
*args and **kwargs Arguments
Iterative Functions
Recursive Functions
Dynamic Programming
Timing Your Code
Helper Functions
Variable Scope
Mapping with Lambda Functions
Filtering with Lambda Functions
Sorting with Lambda Functions
Summary
About the Author