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
1. The first 10 multiples of 13 are 13, 26, 39, 52, 65, 78, 91, 104, 117, and 130.
2. x - 5
3. x + 80
The answer here is C.
Explanation:
24 feet / 10 inches = 28.8
Then take 60 feet and divide 28.8 by it:
2.08 feet
Then convert 2.08 ft to inches: 24.96 inches
Let p = number of people that cast their vote.
p = 0.35(15, 000)
p = 5,250