Python Basics. Part 1 (LearnPython)

Offered by LearnPython.com,
Python Basics. Part 1 (LearnPython)

This course is a solid foundation in programming for beginners. Upon completion, you will be able to deepen your knowledge of Python or switch to any other programming language. There are 95 interactive exercises with examples and hints. After completing them, you’ll be able to use the syntax of Python and write your own functions. You’ll also discover what variables are, their purpose, and how to use them in programs. With an understanding of basic data structures, you’ll be ready to work with files and go further with programming for data analysis, development, or engineering.

What makes Python so popular is its simplicity. In Python, you can write much less code than in other languages such as Java or C#. In short, coding in Python is quick and efficient. There are also nearly 150,000 third-party Python libraries that you can use for all kinds of purposes. Python was one of the primary back-end languages used to create popular apps like YouTube, Instagram, and Spotify. It's also used extensively by leading software companies like Intel, Google, and Amazon.
Our Python Basics series comprises three parts and covers all the entry-level concepts that you need to start writing your own applications. In this Python Basics Part 1 course, you'll learn about concepts such as variables, lists, conditional statements, loops, and functions. When you finish the course, you'll be able to write interactive console applications and useful Python scripts to automate common tasks.
The good news is that you don't need an IT background or any programming experience to pass this course! You can gain Python programming skills with no prior knowledge of computer science. All you need to study with us is a web browser. And we provide you with easy-to-understand explanations, practical examples, and tons of interactive exercises. At the end of each section, you'll get a quick recap of the content and take a quiz to consolidate your knowledge.
In 2018, Python rose to become one of the top programming languages in the IT community. Python is used all over the world by software engineers, academics, and computer science enthusiasts alike. It is an extremely versatile language that can be used for web development, machine learning, and data science. It's also the language of choice for most academics in various fields of study, as well as for many software engineers who want to quickly write scripts to automate their work.

What's in it for you?
95 interactive exercises. Learn at your own pace, from anywhere and anytime. Interact with hands-on exercises for improved retention.
Lifetime access to the course.
Certificate of completion. After you successfully finish all of the exercises, you'll get a downloadable PDF certificate to showcase your accomplishment.
Hints for the exercises. You can ask questions and share insights with other members of our community through the Discuss tab.

What Are the Requirements?
Just a web browser

This Course Will Teach You How To:
Create your first Python application: print() text and numbers; accept input() from users
Use variables and math in Python: understand integers, floats and strings; apply basic mathematical operators; convert between variable types
Make decisions with conditional statements: write "if" statements with "elif" and "else"; use comparison operators; join multiple conditions with "and", "or" and "not"; create nested ifs
Repeat code multiple times using loops: write "for" and "while" loops; use "for" loops with range() and strings; write infinite "while" loops; apply nested loops; introduce "break" and "continue" instructions
Write functions to make your code reusable: create functions with and without parameters; define returns values; use default argument values; understand the "None" type; apply the "pass" instruction; document functions

Who Should Take This Course?

  • Students taking entry-level classes in Python
  • Academics who want to leverage Python in their fields of study
  • Anyone who wants to start programming with no prior experience
  • People interested in data science and machine learning
  • Anyone interested in starting a software development career
  • Anyone who wants to automate their work
Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Crash Course on Python (Coursera) Coursera
Google

Crash Course on Python (Coursera)

This course is designed to teach you the foundations in order to write simple programs in Python using the most common structures. No previous exposure to programming is needed. By the end of this course, you'll understand the benefits of programming in IT roles; be able to write simple programs using Python; figure out how the building blocks of programming fit together; and combine all of this knowledge to solve a complex programming problem.

Jun 23rd 2026
5-12 Weeks
Functional Programming Principles in Scala (Coursera) Coursera
École Polytechnique Fédérale de Lausanne

Functional Programming Principles in Scala (Coursera)

Functional programming is becoming increasingly widespread in industry. This trend is driven by the adoption of Scala as the main programming language for many applications. Scala fuses functional and object-oriented programming in a practical package. It interoperates seamlessly with both Java and Javascript. Scala is the implementation language of many important frameworks, including Apache Spark, Kafka, and Akka. It provides the core infrastructure for sites such as Twitter, Tumblr and also Coursera.

Jun 22nd 2026
5-12 Weeks
Python Foundations (OpenClass) Other Providers
OpenClass

Python Foundations (OpenClass)

This course aims to introduce beginners to programming in Python, starting at square zero. By the end of this course, learners should *not* expect to be programming wizards; rather, they should expect to have a solid foundational understanding of how Python works to pursue further knowledge in more specific areas of programming, such as natural language processing, web development, or general programming.

Self Paced
Self-Paced
Introduction to Programming with MATLAB (Coursera) Coursera
Vanderbilt University

Introduction to Programming with MATLAB (Coursera)

This course teaches computer programming to those with little to no previous experience. It uses the programming system and language called MATLAB to do so because it is easy to learn, versatile and very useful for engineers and other professionals. MATLAB is a special-purpose language that is an excellent choice for writing moderate-size programs that solve problems involving the manipulation of numbers.

Jun 22nd 2026
5-12 Weeks
Introduction to HTML5 (Coursera) Coursera
University of Michigan

Introduction to HTML5 (Coursera)

Thanks to a growing number of software programs, it seems as if anyone can make a webpage. But what if you actually want to understand how the page was created? There are great textbooks and online resources for learning web design, but most of those resources require some background knowledge. This course is designed to help the novice who wants to gain confidence and knowledge. We will explore the theory (what actually happens when you click on a link on a webpage?), the practical (what do I need to know to make my own page?), and the overlooked (I have a page, what do I do now?).

Jun 22nd 2026
3 Weeks
The Raspberry Pi Platform and Python Programming for the Raspberry Pi (Coursera) Coursera
University of California, Irvine

The Raspberry Pi Platform and Python Programming for the Raspberry Pi (Coursera)

The Raspberry Pi is a small, affordable single-board computer that you will use to design and develop fun and practical IoT devices while learning programming and computer hardware. In addition, you will learn how to set up up the Raspberry Pi environment, get a Linux operating system running, and write and execute some basic Python code on the Raspberry Pi. You will also learn how to use Python-based IDE (integrated development environments) for the Raspberry Pi and how to trace and debug Python code on the device.

Jun 22nd 2026
4 Weeks
Cloud Networking (Coursera) Coursera
University of Illinois at Urbana-Champaign

Cloud Networking (Coursera)

In the cloud networking course, we will see what the network needs to do to enable cloud computing. We will explore current practice by talking to leading industry experts, as well as looking into interesting new research that might shape the cloud network’s future. This course will allow us to explore in-depth the challenges for cloud networking—how do we build a network infrastructure that provides the agility to deploy virtual networks on a shared infrastructure, that enables both efficient transfer of big data and low latency communication, and that enables applications to be federated across countries and continents? Examining how these objectives are met will set the stage for the rest of the course.

Jun 22nd 2026
5-12 Weeks
Machine Learning Foundations: A Case Study Approach (Coursera) Coursera
University of Washington

Machine Learning Foundations: A Case Study Approach (Coursera)

Do you have data and wonder what it can tell you? Do you need a deeper understanding of the core ways in which machine learning can improve your business? Do you want to be able to converse with specialists about anything from regression and classification to deep learning and recommender systems? In this course, you will get hands-on experience with machine learning from a series of practical case-studies.

Jun 22nd 2026
5-12 Weeks