Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Code Your First Python Program (Summary)

In this video course, you wrote and executed your first Python program! You wrote a small program that displays the text Hello, World using the print() function.

Then you learned about syntax errors, which occur before IDLE executes a program that contains invalid Python code, and runtime errors, which only occur while a program is running.

You saw how to assign values to variables using the assignment operator (=) and how to inspect variables in the interactive window.

Finally, you learned how to write helpful comments in your code for when you or someone else looks at in the future.

In this video course, you:

  • Wrote your first Python program
  • Learned what happens when you run a program with an error
  • Learned how to declare a variable and inspect its value
  • Learned how to write comments

To check your learning progress, you can take Your First Python Program Quiz.

For more information on concepts covered in this course, you can check out:

Download

Course Slides (.pdf)

1.3 MB
Avatar image for forghm25

forghm25 on Sept. 18, 2022

Great vid

Avatar image for claynet77

claynet77 on Oct. 3, 2024

The address for the quiz returns: “404 Not Found - ” To find the quiz, simply click below all of the Course content. Thank you!

Avatar image for Martin Breuss

Martin Breuss RP Team on Oct. 4, 2024

@claynet77 thanks for notifying us about the broken link, I’ve fixed it also in the Contents tab, so both should work now.

Become a Member to join the conversation.