Answer:
Step-by-step explanation:20
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
Hello there.
6(8 - 2y) = 4y
To solve for this, we need to apply the Distributive Property to the left side of the equation. This property allows us to multiply the number outside of the parenthesis by all numbers inside of the parenthesis.
6(8 - 2y)
6(8) + 6(-2y)
48 - 12y
Now, let’s take a look at our equation.
-12y + 48 = 4y
To make things more simple, we’ll add 12y to both sides of the equation. This will cancel out -12y on the left side of the equation and will turn 4y on the right side of the equation into 16y.
Our new equation is:
16y = 48
Now all we need to do is divide both sides by 16 to solve for y.
16y / 16 = y
48 / 16 = 3
Our final answer and solution is:
Y = 3
I hope this helps!
Step-by-step explanation:
if x is equal to - 1
Then
2x² + 5x + 6
= 2* ( -1)² + 5 * (- 1) + 6
= 2 - 5 + 6
= 8 - 5
= 3
Hope it will help :)❤
Answer:
1728 units cubed
Step-by-step explanation:
V = LWH
V = 12x16x9
V = 1728