Answer:
def cal(n):
s=0
while n>0:
r=n%10
if(r==0 or r==4 or r==6 or r==9):
s=s+1
elif r==8:
s=s+2
n=n//10
print(s)
n=int(input("enter number:"))
print(n)
cal(n)
Explanation:
- Create a function to calculate count of closed path
.
- Create a variable to store count of closed path
.
- While number is positive
, extract last digit of n
.
- Reduce number by truncating last digit
.
- Make a function call to compute count of path.
Answer:
Upload an image to help people
ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ
Answer:
It's the <u><em>power supply</em></u>
Explanation:
The power supply is what essentially enables the computer to operate. It is able to do that by converting the incoming alternating current (AC) to direct current (DC) at the correct wattage rating that is required by the computer to function. The power supply is a metal box that is generally placed in the corner of the case.