6 Beginner Python Projects
If you are new into coding and are looking to learn how to code, the best way to do so is through practice. What better way to practice than through projects you can add to your portfolio?
The projects are based on this instagram post which contains really easy projects to a little bit more complicated (one might consider them to be closer to intermediate)
To follow along the solutions for this project, watch the youtube video here Also, make sure to grab the workbook from this link and if you want to see the solutions that are in the video, use this link.
** Okay, now we are ready for the tutorial! **
1. Dice Roll Simulator
Create a project that will return the numbers of a dice roll.
Challenge: roll 2 dices at the same time.
Learn more about the random
library here.
2. Random Password Generator
Create a project that takes 1 word from the user, and builds a strong password around it. Challenge: don’t use a word, and just generate a password.
3. Random Quote
Using the web scrapping function, retrieve a random quote from this website Learn more about Beautiful Soup.
4. Temperature Converter
Build a temperature converter that takes the input a number and a temperature unit (either C for Celsius and F for Fahrenheit) and have it return it’s equivalent temperature in the other one. Example:
- 43C -> 109F
- 88F -> 31C Learn more about temperature conversion here and [here](https://en.wikipedia.org/wiki/Fahrenheit#Conversion_(specific_temperature_point).
5. Find Fibonacci
Given a number, create a project that is able to tell if the number is part of the Fibonacci sequence. Learn more about Fibonacci sequence here and here.
6. Happy numbers
Determine if a number is a happy number. A happy number is a number whose sum of it’s squared digits results in 1 (after multiple calculations). If it ends in 4, it’s not a happy number. Learn more about happy numbers here.