Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 1.13 KB

File metadata and controls

17 lines (9 loc) · 1.13 KB

python-fundamentals

GOAL: Complete 6 Python Projects

https://www.codementor.io/ilyaas97/6-python-projects-for-beginners-yn3va03fs

Project 1: Guess The Number

Write a program where the computer randomly generates a number between 0 and 20. The user needs to guess what the number is. If the user guesses wrong, tell them their guess is either too high, or too low. This will get you started with the random library if you haven't already used it.

Project 2: Rock, Paper, Scissors Game

Make a rock-paper-scissors game where it is the player vs the computer. The computer’s answer will be randomly generated, while the program will ask the user for their input. This project will better your understanding of while loops and if statements.

Project 3: Generating a sine vs cosine curve

For this project, you will have a generate a sine vs cosine curve. You will need to use the numpy library to access the sine and cosine functions. You will also need to use the matplotlib library to draw the curve. To make this more difficult, make the graph go from -360° to 360°, with there being a 180° difference between each point on the x-axis.