Python Fundamentals

Python powers everything from Netflix to self-driving cars.  Ready to join the coding revolution? Master the basics in our Python Fundamentals course. 

(PYTHON-FUNDA.AJ1) / ISBN : 978-1-64459-280-9
Lessons
Lab
TestPrep
AI Tutor (Add-on)
Instructor Led (Add-on)
168 Reviews
Get A Free Trial

About This Course

This CS Python fundamentals course meticulously lays the groundwork for your programming expertise. We'll begin with fundamental concepts like variables and data types, then progress to powerful tools like control statements and functions. Hands-on labs will solidify your understanding as you explore object-oriented programming, modules, error handling, and even file operations. By course end, you'll be confidently writing Python scripts and tackling problems with the power of code.

Skills You’ll Get

  • Work with core Python programming fundamentals like variables, data types (numerical, strings, lists, booleans), and operators.
  • Craft control flow using statements like if, while, and for loops to guide program execution.
  • Define and utilize functions to create reusable blocks of code.
  • Leverage object-oriented programming (OOP) principles to structure your programs effectively.
  • Manage errors and exceptions for robust code.
  • Work with modules and packages to organize and share code.
  • Perform essential file operations like reading, writing, and manipulating data.

Get the support you need. Enroll in our Instructor-Led Course.

1

Introduction

  • About the Course
  • Learning Objectives
  • Audience
  • Approach
  • Minimum Hardware Requirements
  • Software Requirements
  • Conventions
  • Installation
2

Introducing Python

  • Introduction
  • Working with the Python Interactive Shell
  • Writing and Running Simple Scripts
  • Variables
  • User Input, Comments, and Indentations
  • Summary
3

Data Types

  • Introduction
  • Numerical Data
  • Strings
  • Lists
  • Booleans
  • Summary
4

Control Statements

  • Introduction
  • Control Statements
  • The if Statement
  • The while Statement
  • while Versus if
  • Loops
  • The for Loop
  • The range Function
  • Nesting Loops
  • Breaking Out of Loops
  • Summary
5

Functions

  • Introduction
  • Built-In Functions
  • User-Defined Functions
  • Function Arguments
  • Anonymous Functions
  • Summary
6

Lists and Tuples

  • Introduction
  • List Syntax
  • List Methods
  • List Comprehensions
  • Tuple Syntax
  • Accessing Tuple Elements
  • Accessing Tuple Elements
  • Tuple Methods
  • Summary
7

Dictionaries and Sets

  • Introduction
  • Working with Dictionaries
  • Additional Dictionary Attributes
  • Ordered Dictionaries
  • The Basics of Sets
  • Set Operations
  • Frozen Sets
  • Summary
8

Object-Oriented Programming

  • Introduction
  • A First Look at OOP
  • OOP in Python
  • Methods in a Class
  • Class Versus Instance Attributes
  • Class Versus Instance Methods
  • Class Inheritance
  • Multiple Inheritance
  • Summary
9

Modules, Packages, and File Operations

  • Introduction
  • Defining Modules
  • Imports and Import Statements
  • Modules and Packages
  • File Operations
  • The file Object
  • Reading and Writing to Files
  • Handling Structured Data
  • Summary
10

Error Handling

  • Introduction
  • Built-In Exceptions
  • Handling Errors and Exceptions
  • Custom Exceptions
  • Summary
A

Appendix: PCAP Exam Objective

B

Appendix: PCEP-30-01 Exam Objective

C

Appendix: PCEP-30-02 Exam Objective

Introducing Python

  • Using the print Method
  • Displaying a Statement Multiple Times
  • Using Variable Assignment
  • Using Variables and Assigning Statements
  • Displaying the Multiplication Table

Data Types

  • Using Arithmetic Operators
  • Performing String Slicing Tasks
  • Working with Strings
  • Manipulating Strings Using the strip Method
  • Working with Lists
  • Using Boolean Operators

Control Statements

  • Working with the if Statement
  • Working with the while Statement
  • Using the for Loop and the range Function
  • Using Nested Loops

Functions

  • Working with Function Arguments
  • Using Lambda Functions

Lists and Tuples

  • Using List Methods
  • Using Tuple Methods

Dictionaries and Sets

  • Arranging and Presenting Data Using Dictionaries
  • Combining Dictionaries
  • Creating Intersections of Elements in a Collection

Object-Oriented Programming

  • Defining Methods in a Class
  • Creating Class Attributes
  • Creating Class Methods and Using Information Hiding
  • Overriding Methods
  • Implementing Multiple Inheritance

Modules, Packages, and File Operations

  • Using Resources in a Module

Error Handling

  • Identifying Error Scenarios
  • Handling Errors
  • Creating the Custom Exception Class

Any questions?
Check out the FAQs

Still have unanswered questions and need to get in touch?

Contact Us Now

This course is perfect for beginners with no prior programming experience, or those looking to solidify their understanding of Python fundamentals.

  • Variables and Data Types: Variables store data like numbers (integers, floats), text (strings), collections (lists, tuples, dictionaries), and True/False values (booleans).
  • Operators: These perform operations on data, including arithmetic (+, -, *, /), comparison (==, !=, <, >), and logical (and, or, not).
  • Control Flow: Statements like if, while, and for loops dictate how your program executes based on conditions or repetitions.
  • Functions: Reusable blocks of code that perform specific tasks, promoting code organization and efficiency.

 

Python lists are a fundamental data structure used to store ordered collections of items. Here are some key points:

  • Mutability: Lists are mutable, meaning you can change their contents after creation by adding, removing, or modifying elements.
  • Indexing and Slicing: You can access elements by their position (index) or extract list portions using slicing syntax.
  • Common Methods: Built-in methods like append, insert, remove, and sort help you manipulate and organize list elements.
  • Heterogeneity: Lists can hold elements of different data types within the same list.

Related Courses

All Course
scroll to top