Project time!
This is a project section. These operate a bit differently than lessons or quizzes, as they allow you to use what you have learned. We will give a few rules for you to follow, and you will program accordingly. Don't worry, there's no penalty or problem if you mess up. It's all about learning. At the end of this project, you can see the answer equivalent.
What will I do?
For this project, your goal is to make a program that gives different answers when you change the variables. Seems easy, right? Here are the instructions:
- Create a variable for your age
- Create a variable for your name
- Have the code say "Hi" to you
- Create a conditional that checks if you are an adult (18) and prints the result
- Create a loop that prints your name
agetimes
You can always mess with these however you like. Feel free to experiment and play around! Our answer will be following the above instructions. Go ahead and get programming!