Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

edX

Try It: Intro to Python

via edX

Overview

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.

Syllabus

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

Taught by

edX Boot Camps

Reviews

Start your review of Try It: Intro to Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.