1.5 Practice

Hello World Again

Print "Hello World" to the console.

My First Chapter

Print "My first chapter" and "Good morning!" Then, print 3 other messages of your choice to the console.


Write a program that asks the user for their favorite color and outputs the message, "I love [color] too!"
Example: If the user inputted "blue", the program would print "I love blue too!"


Write a program that asks a user to enter a message, then print that exact same message back. Your program should repeat this input/output cycle 3 times.


Fix the style in this file so that it runs properly. Make sure to add comments to explain the program.

Previous Section

1.4 Errors

Next Section

Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact classes@code4tomorrow.org for inquiries.