Your task for today is to create a small statistics utility in Python that processes a list of numbers provided by the user. This project strengthens your ability to parse input, work with lists, and use Python’s built-in math functions.
📝 Project Task
The program should:
Ask the user to input a list of numbers (comma-separated).
Define functions to:
Find the minimum and maximum
Calculate the average
Calculate the variance and standard deviation
Print a small, formatted report with results.
Bonus (optional):
Round results to 2 decimal places
Handle invalid input gracefully (e.g., if user types text)
Use the
statistics
module for comparison
This project gives you hands-on practice with functions, list processing, and basic statistics — essential in data analysis and everyday Python scripting.
📌 Expected Output
Enter numbers separated by commas: 10, 20, 30, 40
Number Statistics Report
------------------------
Count: 4
Min: 10
Max: 40
Average: 25.0
Variance: 166.67
Standard Deviation: 12.91
💻 Launch This Project in Colab
Open the interactive Google Colab notebook for today’s project — with full instructions, hints, and solutions.
Click the button below to start coding — no setup needed: