This eBook teaches you how to do coding in Python. It also contains coding for a program that tests the understanding of the BODMAS rule of arithmetic calculation. Containing topics are:
- Chapter 1: Python, what Python?
- What is Python?
- Why Learn Python?
- Chapter 2: Getting ready for Python
- Installing the Interpreter
- Using the Python Shell, IDLE and Writing our FIRST program
- Chapter 3: The World of Variables and Operators
- What are variables?
- Naming a Variable
- The Assignment Sign
- Basic Operators
- More Assignment Operators
- Chapter 4: Data Types in Python
- Integers
- Float
- String
- Type Casting In Python
- List
- Tuple
- Dictionary
- Chapter 5: Making Your Program Interactive
- Input()
- Print()
- Triple Quotes
- Escape Characters
- Chapter 6: Making Choices and Decisions
- Condition Statements
- If Statement
- Inline If
- For Loop
- While Loop
- Break
- Continue
- Try, Except
- Chapter 7: Functions and Modules
- What are Functions?
- Defining Your Own Functions
- Variable Scope
- Importing Modules
- Creating our Own Module
- Chapter 8: Working with Files
- Opening and Reading Text Files
- Using a For Loop to Read Text Files
- Writing to a Text File
- Opening and Reading Text Files by Buffer Size
- Opening, Reading and Writing Binary Files
- Deleting and Renaming Files
- Project: Math and BODMAS
- Part 1: myPythonFunctions.py
- Part 2: mathGame.py
You must log in and be a buyer of this download to submit a review.