Jump to ratings and reviews
Rate this book

Python: Python Programming, In 8 Hours, For Beginners, Learn Coding Fast: Python Language, Crash Course Textbook & Exercises

Rate this book
This is a zero-risk investment. If you are not satisfied with this eBook, you can get back the full refund within 7 days.

About This
"Python Programming & Exercises" is a textbook for high school, college, and university students; it covers all essential Python language knowledge . You can learn complete primary skills of Python programming fast and easily .


This textbook is only suitable for Python programming beginners, high school, college, and university students; it is not for the experienced Python programmers .

Source Code for Download
This book provides source code for download; you can download the source code for better study, or copy the source code to your favorite editor to test the programs .



Table of Contents

Chapter 1
What is Python?
First Python Program
The Shell Prompt
Configure Editor
Variables
Variables & Comment
Arithmetic Operator
Assignment Operators
Comparison Operators
Logical Operators
Conditional Operator
Convert Data Type
Triple Quotes
Hands-on Ticket Fare
Summary

Chapter 2
If Statement
If-else Statement
Indentation
If-elif-Statement
For-In Loops
for variable in range( )
While Loops
Continue
Break Statement
Input Texts (1)
Input Texts (2)
Pass Statement
Hands-on Traffic Light
Summary

Chapter 3
Math Function
ceil( ) & floor( )
pow ( ) & sqrt ( )
Max ( ) & Min ( )
abs( ) & round( )
Custom Function
Function with Arguments
Global & Local Variable
Global Variable inside Function
Return
Main Function
List all functions in module
Hands-on Circle Area
Summary

Chapter 4
List
List Functions
Know More List
Tuple
Tuple Functions
Set
Set Functions
Dictionary
Dictionary Functions
Data Structure Review
Hands-on Four Colors
Summary

Chapter 5
Operation Strings
Escape Characters
Testing Functions
Searching Functions
Formatting Functions
Stripping Functions
Splitting Functions
String Functions (1)
String Functions (2)
Regular Expressions
Regular Expression in Python
Hands-on Check Your Input
Summary

Chapter 6
Format String
File Directory
Open File
Read file
Write File
Append Text to File
Renew Some Text
Open Web Page
Hands-on Process a File
Summary

Chapter 7
Module
Import Module (1)
Import Module (2)
Built-in Module
Exceptions
Catch Exceptions
Finally
Debug
Hands-on Three Flowers
Summary

Chapter 8
Class Definition
Object Declaration
Another Object
Inheritance
Overriding Method
Polymorphism
Hands-on Rose is Red
Summary

Python Charts
List Functions
Tuple Functions
Set Functions
Dictionary Functions
Difference
String Operating
Escape
Testing Functions
Searching Functions
Formatting Functions
Stripping Functions
Splitting Functions
Strings Functions
Regular Expression
File Methods
File Modes

Python Questions & Answers
Questions
Answers

Paperbacks Searching
Python in 8 Hours
Python by Ray Yao

198 pages, Kindle Edition

Published January 8, 2022

About the author

Ray Yao

535 books8 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (100%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.