Jump to ratings and reviews
Rate this book

Python Coding. From Zero to Hero in 8 Hours. Python Programming (8/25/24): Learn Programming in Fast Way

Rate this book
About This Book
"Python in 8 Hours" is a textbook for high school and college students; it covers all essential Python language knowledge. You can learn complete primary skills of Python programming fast and easily.

"Python in 8 Hours" is a useful textbook for beginners. The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book. You will be impressed by its distinctive and tidy writing style. Reading this book is a great enjoyment!

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




Table of Contents

Chapter 1
What is Python?
Download & Install Python
Configure Editor
First Python Code
The Shell Prompt
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 Loop
Continue
Break Statement
Input Texts
Pass Statement
Hands-on Traffic Light
Summary

Chapter 3
Math Function
ceil( ) & floor( )
pow ( ) & sqrt ( )
Max ( ) & Min ( )
abs( ) & round( )
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
list sort()
Know More List
Tuple
Tuple Functions
Set
Set Functions
Dictionary
Dictionary Functions
Data Structure Review
Hands-on Four Colors
Summary

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

Chapter 6
Format Value
File Directory
Open File
File Name
Read file
Write File
Append Content to File
Read the Contents
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
Math Function Chart
List Functions
Tuple Functions
Set Functions
Dictionary Functions
Difference
String Operating
Escape
Testing Functions
Searching Functions
Formatting Functions
Stripping Functions
Splitting Functions

176 pages, Kindle Edition

Published August 25, 2024

Loading...
Loading...

About the author

Ray Yao

509 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
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.