Python for Absolute Beginners: Learn Python in a Week!
A Python 3 Practical Programming Course for Absolute Beginners - Learn how to Code in Python 3.9 (2022 Edition)
Introduction
FREE PREVIEWDownload & Install Python 3 (Windows)
FREE PREVIEWDownload & Install Python 3 on macOS
Download & Install Python 3 on Ubuntu Linux
Using the Python Shell
FREE PREVIEWSetting Up Python (SUMMARY)
Code Editors
Quiz ❓: Setting Up Python
Introduction
FREE PREVIEWWriting our first Python Program
Let’s make some mistakes
Creating a Variable
FREE PREVIEWAdding Comments
CHALLENGE: Interact with IDLE (Python Shell)
How to Find Help
Writing your first Python program (SUMMARY)
Exercise1: Create a Variable
QUIZ❓ : Your First Python Program
Introduction
What is a String?
EXERCISE: What Is a String
SOLUTION: What Is a String
Manipulate Strings with Methods
EXERCISE: Change the Case
SOLUTION: Change the Case
EXERCISE: Remove Whitespace
SOLUTION: Remove Whitespace
String Indexing
String Slicing
EXERCISE: String Slicing
SOLUTION: String Slicing
String Concatenation
EXERCISE: String Concatenation
SOLUTION: String Concatenation
Exercise: String Concatenation
String Formatting
F-Strings: An Improved String Formatting Syntax
EXERCISE: Streamline Your Prints
SOLUTION: Streamline Your Prints
Exercise : Strings
Interact With User Input()
EXERCISE: Interact With User Input
SOLUTION: Interact With User Input
Working With Strings and Numbers
EXERCISE: Work With Strings and Numbers
SOLUTION: Work With Strings and Numbers
Print() Formatting Methods
Finding a String in a String
EXERCISE: Find a Letter in a String
SOLUTION: Find a Letter in a String
Strings and String Methods (SUMMARY)
PROJECT: Create a Receipt Printing Program
QUIZ ❓: Simple Data Types
Numbers and Math (OVERVIEW)
Numeric Types in Python
Integers
EXERCISE: Define Integer Literals
SOLUTION: Define Integer Literals
Floating Point Numbers
Arithmetic & Comparison Operators
Logical (Boolean) & Chained Comparison Operators
Floating-Point Representation Error
Math Functions and Number Methods
Numbers Formatted as Strings
EXERCISE: Show a Percentage
SOLUTION: Show a Percentage
Complex Numbers
The Remainder (% Modulo) Operator
Exercise: BMI Calculator
Reading Numbers with the Input Function
Exercise: Input Exercise
Numbers and Math (SUMMARY)
CHALLENGE: Calculating a Percentage
CHALLENGE: Calculating an Average
CHALLENGE: Converting a Math Formula to a Programming Statement
QUIZ ❓: Numbers and Math
What is a List?
Working with Lists
Making Numerical Lists
Printing Lists
Exercise 8: Lists
Tuples
Tuple Assignment, Packing, and Unpacking
Working with Dictionaries
Sets
Exercise 9: Dictionaries
QUIZ ❓: Dictionaries