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 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