Running your first Python script
You're starting to build your first ever Python project as a developer. Before adding features, you need to verify that everything is working correctly. One way to test this is by using the print() function to display a message. One has been provided for you here. You can run the code as many times as you want, and when you're ready, you can submit it to complete the exercise.
Time to take your first step into Python programming.
This exercise is part of the course
Introduction to Python for Developers
Exercise instructions
- Run the
print()function to display the message.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Your first print function
print("Hello, world!")