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: 31824010600
Step-by-step explanation: 3182400060 tens and 100 hundreds = 31824010600.
A natural number is a positive integer, example, 1,2,5,299 etc.
A rational number is a number that can be expressed as a fraction of integers, such as 245/127, 1/2, 5/1,8/1,...
Since a natural number can be expressed as a fraction of integers, so
a natural number IS a rational number.
Answer:
It decreases.
Step-by-step explanation:
10 / d
Lets say that it was 10 / 40, which is 10 divided by 40, 0.25.
Now, it has increased to twice the amount of that.
1 / 80, 10 divided by 80, which is 0.125
So, it decreases.
Answer:
non-Proportional
Step-by-step explanation:
It doesn't go through the origin (0,0)