[Solved]103 P Tsuedu Waderholdt 1170 Private Help O Gain Experience Performing Mathematical Operat Q37289210
103 p tsu.edu/-waderholdt/1170/private Help o To gain experience performing mathematical operations in Python 3 Description: Often, we will write programs to calculate values for us. One value that is of use for us in Computer Science is the cost of running our equipment. This is your basic energy cost problenm. To find the cost of a device using electricity, the electric company charges you based on the kilowatt-hour usage (ie, how many kilowatts you used per hour). For any device, you can calculate this by performing the following arithmetic: kWh (Watts Hours consuming energy)/ 1000 Consumer Cost kWh energy rate Requirements: In this straight-forward OLA, we will practice our ability to perform mathematical calculations in Python. It is your task to create a Python program that will calculate the cost of running a particular device. You will need to ask the user to input three values: (1) the amount of Watts their device uses, (2) the number of hours they will keep it on, (3) their utility company’s energy rate. After obtaining this input, you may proceed to perform your calculation of kWh and Con sumer Cost as shown above. After you obtain your answer, you will print it out like so: 705 rangeres python3 power.py What is your utility rate per kWh? 0.09 How many hours will you run your device? 24 How many watts does your devices consume? 165 The cost of running your device for 24.0 hours: 0.36 NOTE: Your output should look using formatO that would be appropriate for currencies). Deviating from this may result in a loss of points! exactly like what is shown above (i.e., ensure your output is 쉐 ■ Show transcribed image text 103 p tsu.edu/-waderholdt/1170/private Help o To gain experience performing mathematical operations in Python 3 Description: Often, we will write programs to calculate values for us. One value that is of use for us in Computer Science is the cost of running our equipment. This is your basic energy cost problenm. To find the cost of a device using electricity, the electric company charges you based on the kilowatt-hour usage (ie, how many kilowatts you used per hour). For any device, you can calculate this by performing the following arithmetic: kWh (Watts Hours consuming energy)/ 1000 Consumer Cost kWh energy rate Requirements: In this straight-forward OLA, we will practice our ability to perform mathematical calculations in Python. It is your task to create a Python program that will calculate the cost of running a particular device. You will need to ask the user to input three values: (1) the amount of Watts their device uses, (2) the number of hours they will keep it on, (3) their utility company’s energy rate. After obtaining this input, you may proceed to perform your calculation of kWh and Con sumer Cost as shown above. After you obtain your answer, you will print it out like so: 705 rangeres python3 power.py What is your utility rate per kWh? 0.09 How many hours will you run your device? 24 How many watts does your devices consume? 165 The cost of running your device for 24.0 hours: 0.36 NOTE: Your output should look using formatO that would be appropriate for currencies). Deviating from this may result in a loss of points! exactly like what is shown above (i.e., ensure your output is 쉐 ■
Expert Answer
Answer to 103 p tsu.edu/-waderholdt/1170/private Help o To gain experience performing mathematical operations in Python 3 Descript… . . .
OR

