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:
- 11 Beginner Tips for Learning Python Programming
- Writing Comments in Python (Guide)
- How to Write Beautiful Python Code With PEP 8
- Getting Started With Python IDLE
- Interacting With Python
- Your Guide to the Python print() Function
- Understanding the Python Traceback
- Invalid Syntax in Python: Common Reasons for SyntaxError
- Python Exceptions: An Introduction
- Strings and Character Data in Python
- Variables in Python
- Unicode & Character Encodings in Python: A Painless Guide
- PEP 8 — the Style Guide for Python Code
- Python Type Checking (Guide)
- Writing Comments in Python (Guide)
- Documenting Python Code: A Complete Guide
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
forghm25 on Sept. 18, 2022
Great vid