VOOZH about

URL: https://www.coursera.org/learn/packt-python-basics-and-core-concepts-83x7l

⇱ Python Basics and Core Concepts | Coursera


Python Basics and Core Concepts

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

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.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

23 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Python - Complete Python, Django, Data Science and ML Guide Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • 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 videosTotal 19 minutes
  • Introduction to the Specialization3 minutes
  • Course Overview6 minutes
  • Where to Write and Run Python Code5 minutes
  • Practice Installing Python3 minutes
  • Practice - Using the Python Interactive Interpreter3 minutes
2 readingsTotal 20 minutes
  • Introduction to the course 'Python Basics and Core Concepts'10 minutes
  • Full Course Resources10 minutes
1 assignmentTotal 15 minutes
  • Introduction to Python - Assessment15 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 videosTotal 13 minutes
  • Installing PyCharm5 minutes
  • Getting Familiar with the PyCharm Interface8 minutes
1 assignmentTotal 15 minutes
  • Installing and Using Pycharm IDE - Assessment15 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 videosTotal 15 minutes
  • Key Concept in Python3 minutes
  • Main Data Types in Python5 minutes
  • Practice - Working with Main Data Types7 minutes
1 assignmentTotal 15 minutes
  • Basics Concepts in Python - Assessment15 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 videosTotal 55 minutes
  • Built-in Functions11 minutes
  • Practice - Defining and Using Functions12 minutes
  • Practice - Using the Return Statement in Functions10 minutes
  • Practice - Exploring Built-in Functions6 minutes
  • Practice - Using the built-in dir() Function8 minutes
  • Practice - Gathering User Input with the built-in input() Function8 minutes
1 assignmentTotal 15 minutes
  • Introduction to Functions and Built-in Functions in Python - Assessment15 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 videosTotal 21 minutes
  • Code Indentations4 minutes
  • Practice - Working with Indentations6 minutes
  • Following PEP 8 Guidelines6 minutes
  • Enabling Auto-Formatting in PyCharm5 minutes
1 assignmentTotal 15 minutes
  • Code formatting and PEP8 - Assessment15 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 videosTotal 7 minutes
  • Comments3 minutes
  • Practice - Adding Comments to Your Code4 minutes
1 assignmentTotal 15 minutes
  • Comments - Assessment15 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 videosTotal 16 minutes
  • Understanding Expressions3 minutes
  • Understanding Statements3 minutes
  • Practice - Using Expressions6 minutes
  • Practice - Using Statements3 minutes
1 assignmentTotal 15 minutes
  • Expressions and Instructions - Assessment15 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 videosTotal 17 minutes
  • Variables12 minutes
  • Practice - Defining and Using Variables5 minutes
1 assignmentTotal 15 minutes
  • Variables - Assessment15 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 videosTotal 31 minutes
  • Understanding Dynamic Typing6 minutes
  • Types and Data Structures Overview5 minutes
  • Variables and Objects6 minutes
  • Practice - Using the built-in id() Function4 minutes
  • Practice - Exploring Core Data Classes (str, int, bool, list, dict)5 minutes
  • Practice - Using the built-in isinstance() Function4 minutes
1 assignmentTotal 15 minutes
  • Data Types and structures - Assessment15 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 videosTotal 32 minutes
  • Strings9 minutes
  • Practice - String Manipulation11 minutes
  • Practice - String Methods13 minutes
1 assignmentTotal 15 minutes
  • Strings - Assessment15 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 videosTotal 16 minutes
  • String Concatenation4 minutes
  • Practice - Concatenating Strings using the + Operator5 minutes
  • Practice - Using f-strings for String Formatting3 minutes
  • Practice - Alternative String Formatting Methods5 minutes
1 assignmentTotal 15 minutes
  • String Concatenation - Assessment15 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 videosTotal 23 minutes
  • Integers5 minutes
  • Practice - Integers Manipulation8 minutes
  • Float Numbers5 minutes
  • Practice - Floating-Point Numbers Manipulation4 minutes
  • Working with Complex Numbers2 minutes
1 assignmentTotal 15 minutes
  • Numeric Types - Assessment15 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 videosTotal 26 minutes
  • Boolean Values5 minutes
  • Practice - Working with Boolean Values9 minutes
  • Type Conversion12 minutes
1 assignmentTotal 15 minutes
  • Boolean Values - Assessment15 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 videosTotal 12 minutes
  • Magic Methods2 minutes
  • Practice - Utilizing Magic Attributes and Methods9 minutes
1 assignmentTotal 15 minutes
  • Magic Methods - Assessment15 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 videosTotal 45 minutes
  • Lists10 minutes
  • List Methods10 minutes
  • Practice - Working with Lists11 minutes
  • Copying Lists6 minutes
  • Practice - Copying Lists5 minutes
  • TASK - Working with Lists1 minute
1 assignmentTotal 15 minutes
  • Lists - Assessment15 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 videosTotal 39 minutes
  • Dictionaries10 minutes
  • Practice - Manipulating Dictionaries7 minutes
  • Practice - Dictionary Methods5 minutes
  • Other Operations with Dictionaries10 minutes
  • Practice - Using the get() Method for Dictionaries3 minutes
  • Practice - Converting Other Types to a Dictionary3 minutes
  • TASK - Working with Dictionaries1 minute
1 assignmentTotal 15 minutes
  • Dictionaries - Assessment15 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 videosTotal 24 minutes
  • Tuples14 minutes
  • Practice - Tuples Manipulation10 minutes
1 assignmentTotal 15 minutes
  • Tuples - Assessment15 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 videosTotal 49 minutes
  • Sets9 minutes
  • Practice - Working with Sets9 minutes
  • Understanding Set Theory5 minutes
  • Set Methods9 minutes
  • Practice - Usage of the Set Methods13 minutes
  • Practice - Calculating Symmetric Difference of Sets4 minutes
  • TASK - Working with Sets1 minute
1 assignmentTotal 15 minutes
  • Sets - Assessment15 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 videosTotal 17 minutes
  • Ranges6 minutes
  • Practice - Range Manipulation5 minutes
  • Practice - Range Methods and Attributes7 minutes
1 assignmentTotal 15 minutes
  • Ranges - Assessment15 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 videosTotal 26 minutes
  • Built-in Functions for Sequences3 minutes
  • Built-in zip() Function4 minutes
  • Practice - Working with zip Objects8 minutes
  • Practice - Converting a zip Object to a Dictionary4 minutes
  • Comparison of Different Sequences8 minutes
1 assignmentTotal 15 minutes
  • Working with Sequences - Assessment15 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 videosTotal 31 minutes
  • Understanding Immutable Objects in Python7 minutes
  • Understanding Mutable Objects in Python9 minutes
  • Strategies to Prevent Object Mutation7 minutes
  • Practice - Creating Deep Copies of Objects8 minutes
1 readingTotal 10 minutes
  • Conclusion to the course 'Python Basics and Core Concepts'10 minutes
3 assignmentsTotal 90 minutes
  • Full Course Practice Assessment15 minutes
  • Modifying Objects in Python - Assessment15 minutes
  • Full Course Assessment60 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

Offered by

Explore more from Software Development

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

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.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,