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
The equation you have to solve is 1.50 + (0.75 • 6). First, you solve what is in the parenthesis, 0.75 • 6 = 4.50. Now you simply add 1.50 and 4.50 to get $6, the total cost for 7 hours worth of parking.
Answer: 56=4d
Explanation:
Dorothy is 14
Answer:
the pair of equations y = 3, z = 7 represent the intersection of two plans, The set of points is (0,3,7) and the line is parallel to x axis.
Step-by-step explanation:
Consider the provided equation.
y=3 represents a vertical plane which is in xy plane.
Z=7 represents a horizontal plane which is parallel to xy plane
The both planes are perpendicular to each other and intersect.
y=3 and z=7 is the intersection of two plans, where the value of x is zero y=3 and z=7.
The set of points is (0,3,7) and the line is parallel to x axis.