Module 1: Lesson 4


Introduction to Python

This lesson introduces the Python programming language. The purpose of this course is not to teach you to become a proficient Python programmer, although that might happen, but to teach you how to write and execute Python scripts to perform basic data analytics tasks. To quickly bring you up to speed, this lesson demonstrates how to enter and execute basic Python commands in a Jupyter Notebook.

Objectives

By the end of this lesson, you will be learn about

  • Python keywords,
  • the built-in help,
  • Python comments,
  • built-in Python math operators,
  • Python basic data types, and
  • creating and using Python variables.

Time Estimate

Approximately 2 hours.

Activities

Video: Watch the introduction to Python video, which will demonstrate several basic Python concepts including variables, basic math operations, and how to display textual results.

Notebook: Read and complete the practice exercises in the Introduction to Python notebook.


© 2017: Robert J. Brunner at the University of Illinois.

This notebook is released under the Creative Commons license CC BY-NC-SA 4.0. Any reproduction, adaptation, distribution, dissemination or making available of this notebook for commercial use is not allowed unless authorized in writing by the copyright holder.