Answer:
Step-by-step explanation:
We can get this done by using the code
def digits(n):
count = 0
if n == 0:
return 1
while (n > 0):
count += 1
n= n//10
return count
Also, another way of putting it is by saying
def digits(n):
return len(str(n))
------------------------------------------
print(digits(25)) # Should print 2
print(digits(144)) # Should print 3
print(digits(1000)) # Should print 4
print(digits(0)) # Should print 1
Doing this way, we've told the system to count the number of figures that exist in the number. If it's 1000 to 9999, then it records it as 4 digits. If it's 100 - 999, then it records it as 3 digits. If it's 10 - 99, it records as 2 digits. If it's 0 - 9, then it has to record it as a single digit.
Thanks
The order of operations helps keep answers for multi-step equations similar. If the proper order of operations are not followed, then answers may vary. To show an example:
4 / 2 - 1
The proper order of operations would be:
Divide first, before subtracting
4 / 2 - 1
2 - 1
1
But if subtracting was done before dividing:
4 / 2 - 1
4 / 1
4
So not following the proper order would yield different and erroneous answers.
Answer:
<em>x = 3.</em>
Step-by-step explanation:
1. <u><em>Add 2 + 7, and you get 9.</em></u>
2. <u><em>Now find what 3 multiplied by what equals 9.</em></u>
3. <em><u>3 x 3 = 9.</u></em>
4. <em><u>Therefore, x = 3.</u></em>
5. <em><u>3 x 3 - 2 = 7.</u></em>
Scale factor is 1/3
And I think it's an enlargement
Answer:
269.6 square centimeters
Step-by-step explanation:
<u><em>The correct question is</em></u>
The diagram shows the net of a juice box. the box is a rectangular prism. what is the surface area of the juice box? 6.4 cm 4 cm 10.5 cm
we know that
The surface area of a rectangular prism is equal to
where
B is the area of the base
P is the perimeter of the base
H is the height of the prism
we have
<em>Find the area of the base B</em>
substitute the given values
<em>Find the perimeter of the base P</em>
substitute the given values
<em>Find the surface area</em>
substitute