Practice loops
Estimated Time: 3 hours
The solutions to the challenges are available in Replit. You can view a video of the solution below most challenges. Try to go through the challenges without using the solution.
If you can’t do the challenge without looking the solution, it means you don’t understand the material well enough yet. Try the next practice challenge without looking at the solution. If you need more practice challenges, reach out on Discord.
If you get stuck
- Read the instructions again.
- Remember Go Climb Kibo - first Google, then ask the Community on Discord, then reach out to Kibo instructional team.
- You can click ‘Submit’ in Replit to view a solution. Don’t forget to try the solution out in your own code, and submit the project again.
Print multiples
👩🏿💻 Write a program that prints the numbers from 1 to 100, noting the multiples of 3 and 5.
Here’s what the first 10 lines of output will look like:
1
2
3 is a multiple of 3
4
5 is a multiple of 5
6 is a multiple of 3
7
8
9 is a multiple of 3
10 is a multiple of 5
Watch the video below to see the full solution. Before checking the solution, make sure you spend enough time thinking and trying. This is really how you learn and build experience.
Print Multiples Solution
Scrabble Word Score
👩🏿💻 In this example, you'll practice using loops to calculate the Scrabble score of different words.