Use Python https://www.python.org/downloads/ 1 My electricity bills for the last three months have been $23,
Question:
Use Python https://www.python.org/downloads/
1 My electricity bills for the last three months have been $23, $32 and $64. What is the average monthly
electricity bill over the three month period? Write an expression to calculate the mean, and use print() to view the result.
Upload your code and screen shot of the output
2 In this exercise you're going to do some calculations for a tiler. Two parts of a floor need tiling. One part is 9 tiles wide by 7 tiles long, the other is 5 tiles wide by 7 tiles long. Tiles come in packages of 6.
- How many tiles are needed?
- You buy 17 packages of tiles containing 6 tiles each. How many tiles will be left over?
Upload your code and screen shot of the output
3 Assign multiple variables at once
x, y, z = 3, 5, 4
Upload your code and screen shot of the output
4 Booleans (bool), Comparison Operators and Logical Operators
Upload your code and screen shot of the output
- 5 Write code to compare these densities. Is the population of San Francisco more dense than that of Rio de Janeiro? Print True if it is and False if not.
- Upload your code and screen shot of the output
Accounting and Finance An Introduction
ISBN: 978-1292088297
8th edition
Authors: Peter Atrill, Eddie McLaney