Programming in Python

Python is a powerful programming language that you can do anything with. You can use it to develop a script to determine the day of the week based off of any calendar date, use machine-learning techniques to build predictive models, or automate a task that you do every day! This mission is designed to help you learn Python programming the right way!

To begin your coding journey, you'll start with the basics of programming in Python as preparation for utilizing Python for data science and data analytics. Because you will learn how python programming from the beginning, there's no programming experience required to complete this module; all you need is a curious mind, a willingness to embrace learning a new skill, and a determination not to give up in the face of errors. 

Because no programming experience is required, you will start this mission by learning about the Python programming language and what you can do with it. After learning about the programming language, you'll learn about the print command to display the results of a statement when the program is executed. You will also learn about Python syntax — similar to the syntax of spoken languages. Toward the end of this mission, you'll learn about computer programs, how to leave comments in your code, and how to utilize the arithmetic operations to have Python perform mathematical functions.


  • Learn how to write your first computer program.
  • Learn basic programming concepts like variables and data types.
  • Basic programming operations like arithmetics and string concatenation.

Mission Outline

1.  Learning Data Science
2. Programming in Python
3. The print() Command
4. Python Syntax
5. Computer Programs
6. Code Comments
7. Arithmetical Operations
8. Next Steps
9. Takeaways


Course Info:


The median completion time for this course is 5.8 hours. View Details

This course includes 7 missions, 1 guided project, and 1 tutorial.  It is the first course in the Data Analyst in Python path and Data Scientist in Python path.


Take a Look Inside

(function(d) { d.addEventListener("DOMContentLoaded", function() { var pathname = d.location.pathname.replace(/^[/]|[/]$/g, "").replace("/", "-"); var tags = d.getElementsByTagName("iframe"); var type = pathname.startsWith("course") ? "?course=" : pathname.startsWith("path") ? "?path=" : null; if (type) { var i; for (i = 0; i < tags.length; i++) { if (tags[i].src.indexOf("signup#iframe") !== -1) { tags[i].src = tags[i].src.replace("#iframe", "") + type + pathname + "#iframe"; } } } }, false); })(document);