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
Let ∠RTS=∠RST = a (say)
∠QUA=∠QSU= b(say)
then we know , at point S, a+40+b=180. so, a+b=140 we'll use this later.
consider trianglePQR, ∠P+∠Q+∠R=180
i.e.P+(180-2b)+(180-2a)=180
P+180+180-2(a+b)=180 ⇒P+180-2(a+b)=0 ⇒P=2(140)- 180=280-180=100
hence,answer is E
If my calculations are correct the answer is cut your answer in half
The variable "x" equals 7
Answer:
red
Step-by-step explanation:
1-red
2-blue
3-red
4-blue
5-red
6-blue
7-red
8-blue
9-red
10-blue
11-red
12-blue
13-red
14-blue
15-red
16-blue
17-red
18-blue
19-red
20-blue
21-red
22-blue
23-red
im so smart fr