Email the Author

You can use this page to email chamsseddine rebbaj about Python programming with practice from beginner to advanced: 1st part.

Please include an email address so the author can respond to your query

This message will be sent to chamsseddine rebbaj

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

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

chamsseddine rebbaj’s avatar chamsseddine rebbaj

My name is chamsseddine ,i love making e-bookes , and i love programming ,so i make programming's e-bookes

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Pythonprogrammingwithpracticefrombeginnertoadvanced1stpart › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss