Python Basics and Core Concepts
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Python Basics and Core Concepts
This course is part of Python - Complete Python, Django, Data Science and ML Guide Specialization
Included with
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Set up and run Python in various environments, including PyCharm and online editors.
Work with Python’s core data types, including strings, lists, tuples, and dictionaries.
Write and use functions, including built-in Python functions and custom functions.
Apply Python’s PEP 8 guidelines for code formatting and structure.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 21 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Learn the fundamentals of Python, from setting up your environment to mastering key programming concepts such as variables, functions, data types, and object-oriented programming. By the end of the course, you will have a solid understanding of Python's core concepts, enabling you to start building programs with confidence. Through a structured series of lessons and hands-on practice, you will walk through Python's most important features, including data types like lists, tuples, dictionaries, and sets, and functions like print(), input(), and dir(). You'll also work with advanced topics like string manipulation, numeric types, and magic methods, while focusing on best practices in code formatting, PEP 8 guidelines, and using IDEs like PyCharm. This course is designed for learners at all levels, whether you are completely new to programming or looking to solidify your Python skills. With interactive tutorials, exercises, and real-world projects, you'll be prepared for further exploration into Python, from web development to data science.
In this module, we will introduce you to Python, covering everything from setting up your coding environment to exploring Python's core features. You'll learn how to install Python, use different development tools, and begin experimenting with Python through the interactive interpreter.
What's included
5 videos2 readings1 assignment
5 videos•Total 19 minutes
- Introduction to the Specialization•3 minutes
- Course Overview•6 minutes
- Where to Write and Run Python Code•5 minutes
- Practice Installing Python•3 minutes
- Practice - Using the Python Interactive Interpreter•3 minutes
2 readings•Total 20 minutes
- Introduction to the course 'Python Basics and Core Concepts'•10 minutes
- Full Course Resources•10 minutes
1 assignment•Total 15 minutes
- Introduction to Python - Assessment•15 minutes
In this module, we will guide you through installing and setting up PyCharm, a powerful Python IDE. You'll become familiar with the interface, learn how to manage projects, and understand key features that enhance your coding workflow.
What's included
2 videos1 assignment
2 videos•Total 13 minutes
- Installing PyCharm•5 minutes
- Getting Familiar with the PyCharm Interface•8 minutes
1 assignment•Total 15 minutes
- Installing and Using Pycharm IDE - Assessment•15 minutes
In this module, we will cover the foundational concepts of Python, focusing on the object-oriented paradigm and key data types. You'll practice working with strings, integers, booleans, lists, and dictionaries, gaining a strong understanding of Python's structure and functionality.
What's included
3 videos1 assignment
3 videos•Total 15 minutes
- Key Concept in Python•3 minutes
- Main Data Types in Python•5 minutes
- Practice - Working with Main Data Types•7 minutes
1 assignment•Total 15 minutes
- Basics Concepts in Python - Assessment•15 minutes
In this module, we will introduce you to functions in Python, covering both custom and built-in functions. You’ll learn how to define functions, pass arguments, use the return statement, and explore important built-in functions to enhance your coding efficiency.
What's included
6 videos1 assignment
6 videos•Total 55 minutes
- Built-in Functions•11 minutes
- Practice - Defining and Using Functions•12 minutes
- Practice - Using the Return Statement in Functions•10 minutes
- Practice - Exploring Built-in Functions•6 minutes
- Practice - Using the built-in dir() Function•8 minutes
- Practice - Gathering User Input with the built-in input() Function•8 minutes
1 assignment•Total 15 minutes
- Introduction to Functions and Built-in Functions in Python - Assessment•15 minutes
In this module, we will focus on code formatting and the PEP 8 style guide, which helps ensure clean, readable, and consistent code. You’ll learn about proper indentation, how to follow Python’s best practices, and how to enable auto-formatting in PyCharm for seamless coding.
What's included
4 videos1 assignment
4 videos•Total 21 minutes
- Code Indentations•4 minutes
- Practice - Working with Indentations•6 minutes
- Following PEP 8 Guidelines•6 minutes
- Enabling Auto-Formatting in PyCharm•5 minutes
1 assignment•Total 15 minutes
- Code formatting and PEP8 - Assessment•15 minutes
In this module, we will explore the role of comments in Python programming, focusing on their significance for clarity and collaboration. You’ll practice adding comments to your code to ensure it remains understandable and easy to maintain.
What's included
2 videos1 assignment
2 videos•Total 7 minutes
- Comments•3 minutes
- Practice - Adding Comments to Your Code•4 minutes
1 assignment•Total 15 minutes
- Comments - Assessment•15 minutes
In this module, we will dive into the concepts of expressions and statements in Python. You'll learn how expressions represent values and perform operations, while statements control the logic and flow of your program. Through practical exercises, you'll gain hands-on experience in using both expressions and statements.
What's included
4 videos1 assignment
4 videos•Total 16 minutes
- Understanding Expressions•3 minutes
- Understanding Statements•3 minutes
- Practice - Using Expressions•6 minutes
- Practice - Using Statements•3 minutes
1 assignment•Total 15 minutes
- Expressions and Instructions - Assessment•15 minutes
In this module, we will introduce you to the concept of variables in Python. You’ll learn how variables store data and explore various types used in Python. Through hands-on exercises, you'll gain experience defining and working with variables to manage and manipulate data in your programs.
What's included
2 videos1 assignment
2 videos•Total 17 minutes
- Variables•12 minutes
- Practice - Defining and Using Variables•5 minutes
1 assignment•Total 15 minutes
- Variables - Assessment•15 minutes
In this module, we will dive deep into Python’s dynamic typing system, explore core data types and structures, and demonstrate how to manage and manipulate data effectively. Through practical exercises, you'll gain valuable experience working with Python’s built-in functions and data classes.
What's included
6 videos1 assignment
6 videos•Total 31 minutes
- Understanding Dynamic Typing•6 minutes
- Types and Data Structures Overview•5 minutes
- Variables and Objects•6 minutes
- Practice - Using the built-in id() Function•4 minutes
- Practice - Exploring Core Data Classes (str, int, bool, list, dict)•5 minutes
- Practice - Using the built-in isinstance() Function•4 minutes
1 assignment•Total 15 minutes
- Data Types and structures - Assessment•15 minutes
In this module, we will dive into Python strings, emphasizing their immutability and how they are handled as objects. You’ll learn essential string methods and gain hands-on experience working with strings, including creating, modifying, and using various string operations in Python.
What's included
3 videos1 assignment
3 videos•Total 32 minutes
- Strings•9 minutes
- Practice - String Manipulation•11 minutes
- Practice - String Methods•13 minutes
1 assignment•Total 15 minutes
- Strings - Assessment•15 minutes
In this module, we will dive into string concatenation techniques in Python. You’ll learn how to use the + operator and discover F-strings for more efficient and readable formatting. We will also explore other methods for formatting strings, helping you choose the best option for your coding needs.
What's included
4 videos1 assignment
4 videos•Total 16 minutes
- String Concatenation•4 minutes
- Practice - Concatenating Strings using the + Operator•5 minutes
- Practice - Using f-strings for String Formatting•3 minutes
- Practice - Alternative String Formatting Methods•5 minutes
1 assignment•Total 15 minutes
- String Concatenation - Assessment•15 minutes
In this module, we will explore Python’s numeric types, including integers, floating-point numbers, and complex numbers. You’ll practice working with these types, from basic arithmetic operations to more advanced concepts like rounding floats and handling complex numbers.
What's included
5 videos1 assignment
5 videos•Total 23 minutes
- Integers•5 minutes
- Practice - Integers Manipulation•8 minutes
- Float Numbers•5 minutes
- Practice - Floating-Point Numbers Manipulation•4 minutes
- Working with Complex Numbers•2 minutes
1 assignment•Total 15 minutes
- Numeric Types - Assessment•15 minutes
In this module, we will focus on Boolean values in Python, exploring their role in logical operations and comparisons. You’ll also practice type conversion, learning how to handle different data types effectively and prevent errors in your programs.
What's included
3 videos1 assignment
3 videos•Total 26 minutes
- Boolean Values•5 minutes
- Practice - Working with Boolean Values•9 minutes
- Type Conversion•12 minutes
1 assignment•Total 15 minutes
- Boolean Values - Assessment•15 minutes
In this module, we will dive into magic methods in Python, which allow implicit operations between different types. You'll also learn how to use the dir() function to access attributes and methods, including magic methods, enhancing your ability to work with Python’s object-oriented features.
What's included
2 videos1 assignment
2 videos•Total 12 minutes
- Magic Methods•2 minutes
- Practice - Utilizing Magic Attributes and Methods•9 minutes
1 assignment•Total 15 minutes
- Magic Methods - Assessment•15 minutes
In this module, we will focus on Python lists, exploring their structure, key methods, and how to modify and access elements. You’ll practice copying lists, manipulating their contents, and applying your knowledge to real tasks that involve working with lists in Python.
What's included
6 videos1 assignment
6 videos•Total 45 minutes
- Lists•10 minutes
- List Methods•10 minutes
- Practice - Working with Lists•11 minutes
- Copying Lists•6 minutes
- Practice - Copying Lists•5 minutes
- TASK - Working with Lists•1 minute
1 assignment•Total 15 minutes
- Lists - Assessment•15 minutes
In this module, we will dive deep into Python dictionaries, focusing on their creation, manipulation, and methods. You'll explore nested dictionaries, use the get() method for error handling, and practice converting other types into dictionaries. Finally, you’ll apply your skills in a practical task that involves user input and dictionary manipulation.
What's included
7 videos1 assignment
7 videos•Total 39 minutes
- Dictionaries•10 minutes
- Practice - Manipulating Dictionaries•7 minutes
- Practice - Dictionary Methods•5 minutes
- Other Operations with Dictionaries•10 minutes
- Practice - Using the get() Method for Dictionaries•3 minutes
- Practice - Converting Other Types to a Dictionary•3 minutes
- TASK - Working with Dictionaries•1 minute
1 assignment•Total 15 minutes
- Dictionaries - Assessment•15 minutes
In this module, we will focus on Python tuples, exploring their structure, immutability, and when to use them. You’ll practice creating and accessing tuples, as well as using built-in methods to work with tuple data effectively.
What's included
2 videos1 assignment
2 videos•Total 24 minutes
- Tuples•14 minutes
- Practice - Tuples Manipulation•10 minutes
1 assignment•Total 15 minutes
- Tuples - Assessment•15 minutes
In this module, we will explore Python sets, a powerful data structure that ensures uniqueness and enables efficient data manipulation. You'll practice set operations, explore essential set methods, and work through practical examples to deepen your understanding of sets in Python.
What's included
7 videos1 assignment
7 videos•Total 49 minutes
- Sets•9 minutes
- Practice - Working with Sets•9 minutes
- Understanding Set Theory•5 minutes
- Set Methods•9 minutes
- Practice - Usage of the Set Methods•13 minutes
- Practice - Calculating Symmetric Difference of Sets•4 minutes
- TASK - Working with Sets•1 minute
1 assignment•Total 15 minutes
- Sets - Assessment•15 minutes
In this module, we will dive into Python's Range class, focusing on its use in iteration and loop operations. You’ll practice creating and working with ranges, and explore various methods and attributes to manipulate and analyze sequences of numbers.
What's included
3 videos1 assignment
3 videos•Total 17 minutes
- Ranges•6 minutes
- Practice - Range Manipulation•5 minutes
- Practice - Range Methods and Attributes•7 minutes
1 assignment•Total 15 minutes
- Ranges - Assessment•15 minutes
In this module, we will focus on working with sequences in Python, exploring essential functions and operations. You'll learn how to manipulate sequences, use the zip() function to merge and convert data, and compare different sequence types to choose the best one for your needs.
What's included
5 videos1 assignment
5 videos•Total 26 minutes
- Built-in Functions for Sequences•3 minutes
- Built-in zip() Function•4 minutes
- Practice - Working with zip Objects•8 minutes
- Practice - Converting a zip Object to a Dictionary•4 minutes
- Comparison of Different Sequences•8 minutes
1 assignment•Total 15 minutes
- Working with Sequences - Assessment•15 minutes
In this module, we will explore how Python handles the modification of objects, focusing on mutable and immutable types. You’ll learn techniques for preventing unintended changes by creating deep copies of objects, ensuring independence in your data structures and maintaining clean memory management.
What's included
4 videos1 reading3 assignments
4 videos•Total 31 minutes
- Understanding Immutable Objects in Python•7 minutes
- Understanding Mutable Objects in Python•9 minutes
- Strategies to Prevent Object Mutation•7 minutes
- Practice - Creating Deep Copies of Objects•8 minutes
1 reading•Total 10 minutes
- Conclusion to the course 'Python Basics and Core Concepts'•10 minutes
3 assignments•Total 90 minutes
- Full Course Practice Assessment•15 minutes
- Modifying Objects in Python - Assessment•15 minutes
- Full Course Assessment•60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Explore more from Software Development
- P
Packt
Course
- Status: Free Trial
- Status: Free Trial
Course
- Status: Free TrialK
KodeKloud
Course
Why people choose Coursera for their career
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
More questions
Financial aid available,
