w3resource

Python Project: Numbers

Python Mini Projects: 11 Numbers with solutions

1. Create a Python project to get the value of Pi to n number of decimal places.
Note: Input a number and the program will generate PI to the 'nth digit

Click me to see the sample solution

2. Create a Python project to get the value of e to n number of decimal places.
Note: Input a number and the program will generate e to the 'nth digit

Click me to see the sample solution

3. Create a Python project to guess a number that has randomly selected.

Click me to see the sample solution

4. Create a Python project that prints out every line of the song "99 bottles of beer on the wall." Note: Try to use a built in function instead of manually type all the lines.

Click me to see the sample solution

5. Create a Python project of a Magic 8 Ball which is a toy used for fortune-telling or seeking advice.

  • Allow the user to input their question.
  • Show an in progress message.
  • Create 10/20 responses, and show a random response.
  • Allow the user to ask another question/advice or quit the game.

Click me to see the sample solution

6. Create a Python project that will help to print colored text, bold, italic, faint, blink (slow/fast), on terminal window.

Click me to see the sample solution

7. Create a Python project to get a property from a nested object using a dot path.

Click me to see the sample solution

8. Create a Python project to split a given data list into several small sections.

Click me to see the sample solution

9. Create a Python project to create random name (first name, full name etc.) profile etc.

Click me to see the sample solution

10. Create a Python project to read public data returned from URL, and parsing JSON to dictionary object.

Click me to see the sample solution

11. Create a Python project to perform some simple statistics on a list of values.

Click me to see the sample solution

More to Come !



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/projects/python/python-projects-numbers.php