Skip to main content

Try It: Intro to Python

If you want to learn to code with Python, this free course will give you an overview of the ins and outs of Python basics. Try our no-risk course today and see why Python has become one of the world’s most popular and in-demand programming languages. No previous coding experience required.

...
Try It: Intro to Python

There is one session available:

683 already enrolled!
After a course session ends, it will be archivedOpens in a new tab.
Starts Aug 9

Try It: Intro to Python

If you want to learn to code with Python, this free course will give you an overview of the ins and outs of Python basics. Try our no-risk course today and see why Python has become one of the world’s most popular and in-demand programming languages. No previous coding experience required.

Try It: Intro to Python
1 weeks
1–2 hours per week
Self-paced
Progress at your own speed
Free
Access to course at no cost

There is one session available:

After a course session ends, it will be archivedOpens in a new tab.
Starts Aug 9

About this course

Skip About this course

Python is one of the most popular and in-demand programming languages in the world — largely because of how readable and versatile it is. If you’re interested in learning Python, this free, introductory course will demonstrate how learning to code in Python could benefit your career. No previous programming experience is required.

From analyzing large datasets to building web applications, Python can be used for a variety of projects including:

  • Writing scripts for automating tasks

  • Web development

  • Collecting data from websites (also known as “web scraping”)

  • Scientific and numeric computing

  • Data analysis

  • Data visualization

  • Machine learning

Python is also a useful skill applicable to roles across a wide range of industries, including:

  • Energy

  • Finance

  • Healthcare

  • Marketing

  • IT

  • Retail

This course is an introduction to our Boot Camps, which combine data analysis and machine learning to prepare learners for careers such as data analysts, financial analysts, data scientists, and more. Learn more here.

At a glance

  • Language: English
  • Video Transcript: English

What you'll learn

Skip What you'll learn
  • What Python is and where it’s used.

  • Functions, the bits of code that tell Python what to do.

  • How to create and name variables.

  • How to build conditional logic to automate dual-alternative decision-making.

  • How to use Python for advanced decision making with nested if/else statements.

  • How Python interacts with a console.

  • How to code simple programs and use conditional statements to automate decision-making.

Part 1:

  • Functions: bits of code that tell Python what to do
  • Two of the most important functions: print and input

Part 2:

  • Variables - fundamental building blocks of all programming languages, they hold and name data in your code
  • Two variable types: Strings and Integers

Part 3:

  • Operators: Equal to, less than, greater than
  • Conditionals: If, Elif, Else

Part 4:

  • Decision-making with Python: if/else with dual alternative decision statements

Part 5:

  • Advanced decision-making: Nested if/else

Quick Demo: Build a Werewolf Detector with Python

Culminating Activity: Edit the Werewolf Detector code to create a vampire detector that uses nested if/else statements

About the instructors

Interested in this course for your business or team?

Train your employees in the most in-demand topics, with edX for Business.