Python Forum

Full Version: Monthly pollution rate
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Writing a python script that lets the user enter monthly air pollution amount for each of 12 months into tuple. The program should calculate and print the total pollution amount within a year, average monthly pollution rate, the index of the months of with highest and lowest amounts.
What have you done and where are you stuck? We aren't here to do your homework for you!
I couldn't do this problem and I just need opinions to do it, I am not saying that someone do for me... If you don't want to say something useful you can pass this post...! You don't have to say something or do something!!
If you're struggling with the material so much, perhaps it's worth speaking to the teacher of your course.
Can you, just for a start, write a program that lets the user enter 12 numbers?