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
It would be 123,456,789 (if not counting decimals)
decimals would be like 0.123456789
B. THE 2 IN THE TENTHS PLACE IS 10 TIMES THE VALUE OF THE 2 IN THE HUNDREDTHS PLACE.
2 2 . 2 2 2
tens ones decimal point tenths hundredths thousandths
2 in the tenths place = 0.20
2 in the hundredths place = 0.02
0.02 x 10 = 0.20
Perimeter is all four sides added together, therefore....
38+38= 76
8dm= 80cm
80cm*2=160 cm
76+160= 236<span />
Answer:
no
Step-by-step explanation:
i hope this helps :)