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
Answer:
21
Step-by-step explanation:
just because whsusjeej
Answer:
10.5 %
<u>Skills needed: Financial Math Essentials</u>
Step-by-step explanation:
1) First, before getting started, let's assume the price of the product is
. This variable will be used a lot throughout the problem (
).
2) Marking a price above means increasing the price in order to make money off of the purchased product. When raising something by
percent, the new price would be
.
---> In this case, the price increased by
percent.
This means that it would be: 
New price is: 
3) The shopkeeper is then offering a
percent discount off of this marked price. When offering a
percent discount price, the new price (with discount), expressed algebraically is: 
---> the expression above simplifies to 
In this case,
, 
---> 
This means that
, with discount, has been raised
.
10.5 % is the profit percent
(The profit percent being the final marked up price - purchased price)
3X+9X=180
12X=180
X=15°
Angle 1=3X
Angle 1 =45°
That's your answer.
Answer:
Wouldn't it be 11? If the tree starts with 18 apples, and ends with 11, then that's it, it ends with 11 apples.
unless you just mis-typed, and meant 18-11. 7 would be the answer.
Step-by-step explanation: