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
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
Operator Syntax Description And 10 Or Not X and y The result will be true if both the operands are true, otherwise, it is false. X or y not x The result will be true if both or either of the operands is true. If both the operands are false, then the result is false. The result will be true when the operand is false. It basically inverts the boolean value of the operand.
Step by Step Solution
3.34 Rating (151 Votes )
There are 3 Steps involved in it
Step: 1
I currently do not have the capability to upload images or files However I can provide you with Pyth...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started