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

Problem Solving Using Computational Thinking (Coursera) Coursera
University of Michigan

Problem Solving Using Computational Thinking (Coursera)

Have you ever heard that computers "think"? Believe it or not, computers really do not think. Instead, they do exactly what we tell them to do. Programming is, "telling the computer what to do and how to do it." Before you can think about programming a computer, you need to work out exactly what it is you want to tell the computer to do. Thinking through problems this way is Computational Thinking. Computational Thinking allows us to take complex problems, understand what the problem is, and develop solutions. We can present these solutions in a way that both computers and people can understand.

Sep 14th 2026
5-12 Weeks
Program Arcade Games - Learn Computer Science (Simpson College) Other Providers
Simpson College

Program Arcade Games - Learn Computer Science (Simpson College)

This is a first semester course in learning how to program. Are you here because you want to create your own games? Excellent! But you might soon find that this looks like work. We all know we'd rather skip work and go farming for gold in WoW or Eve or some other game, right? So why learn to program? What does a person get out of it?

Self Paced
Self-Paced
City Design (Stepic) Other Providers
Stepic

City Design (Stepic)

City Design online course shows the fundamentals of city planning, building and exploitation via funny short video lectures (like the one above) and a variety of brief assignments for self-control. It is ideal for people who want to know about designing the cities before starting professional readings or to draw inspiration.

Mar 1st 2014
5-12 Weeks
Selenium WebDriver with Python (Coursera) Coursera
Whizlabs

Selenium WebDriver with Python (Coursera)

“Selenium WebDriver with Python” is a foundational course that aims to provide a comprehensive understanding of Selenium and its components. It also helps in understanding how Selenium WebDriver Operates. This course begins by demonstrating an environment setup for Selenium WebDriver with Python. A brief description of locating Web elements and web Interactions is provided in this course. This course covers an overview of testing frameworks with Selenium WebDriver. Some advanced topics such as Handling Popup, Alerts, Multiple Browser Tabs, Mouse and Keyboard interactions are also highlighted in this course.

Sep 14th 2026
3 Weeks
Accounting Data Analytics with Python (Coursera) Coursera
University of Illinois at Urbana-Champaign

Accounting Data Analytics with Python (Coursera)

This course focuses on developing Python skills for assembling business data. It will cover some of the same material from Introduction to Accounting Data Analytics and Visualization, but in a more general purpose programming environment (Jupyter Notebook for Python), rather than in Excel and the Visual Basic Editor. These concepts are taught within the context of one or more accounting data domains (e.g., financial statement data from EDGAR, stock data, loan data, point-of-sale data).

Sep 14th 2026
5-12 Weeks
Learn to teach with automatic assessments (JuezLTI) Other Providers
C.I.F.P. Carlos III,Karlstad University,Bursa Il Milli Egitim Mudurlugu,INESTEC,Entornos de Formación - EDF

Learn to teach with automatic assessments (JuezLTI)

Come and join teachers around the world and learn how to teach with automatic programming assessments using JuezLTI. JuezLTI is a tool to support computer science teaching, and allows the automatic assessment of programming exercises, databases and markup languages. In this course you will learn how to setup the LTI tool in your LMS, how to create exercises or import them from Authorkit and discuss with other teachers around the world how to integrate it in your teaching. The course is aimed at teachers programming teachers in vocational schools or higher education institutions.

Nov 14th 2022
4 Weeks
Data Processing Using Python (Coursera) Coursera
Nanjing University

Data Processing Using Python (Coursera)

This course is mainly for non-computer majors. It starts with the basic syntax of Python, to how to acquire data in Python locally and from network, to how to present data, then to how to conduct basic and advanced statistic analysis and visualization of data, and finally to how to design a simple GUI to present and process data, advancing level by level.

Sep 14th 2026
5-12 Weeks
Kotlin for Java Developers (Coursera) Coursera
JetBrains

Kotlin for Java Developers (Coursera)

The Kotlin programming language is a modern language that gives you more power for your everyday tasks. Kotlin is concise, safe, pragmatic, and focused on interoperability with Java code. It can be used almost everywhere Java is used today: for server-side development, Android apps, and much more. This course aims to share with you the power and the beauty of Kotlin.

Sep 14th 2026
5-12 Weeks
Introduction to Open Source Application Development (Coursera) Coursera
Illinois Tech

Introduction to Open Source Application Development (Coursera)

This course introduces basic concepts of systems programming using a modern open source language. You will learn to apply basic programming concepts toward solving problems, writing pseudocode, working with and effectively using basic data types, abstract data types, control structures, code modularization and arrays. You will learn to detect errors, work with variables and loops, and discover how functions, methods, and operators work with different data types. You will also be introduced to the object paradigm including classes, inheritance, and polymorphism.

Sep 14th 2026
5-12 Weeks