Practice - Writing Your First Python Program
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
Write a line of code to print your favorite color.
💡 Hint: Use the print() function with your color in quotes.
What will this line of code return? print('Hello')
💡 Hint: Try running the code and see what appears on the screen.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What does the print() function do?
💡 Hint: Remember what we learned about the print function.
The following code will cause a Syntax Error: `print('Hello)
💡 Hint: Think about the format of your strings.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Modify the print('Hello, World!') to include your age and favorite food in one sentence.
💡 Hint: Use the same format and remember to replace the placeholders.
Create two print statements: one for greeting and another for your city. Ensure no syntax errors occur.
💡 Hint: Check each statement individually to avoid errors.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.