1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Marta_Voda [28]
3 years ago
6

Some numbers are formed with closed paths. the digits 0, 4, 6 and 9 each have 1 closed path and 8 has 2. None of the other numbe

rs is formed with a closed path. Given a number determine the total number of closed paths in each of its digits combined.
Computers and Technology
1 answer:
postnew [5]3 years ago
5 0

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.
You might be interested in
Creation of ____________will help you to study the behavior of the real system
AfilCa [17]

Answer:

I don't know but....I think (Sorry if I am wrong)

Explanation:

Psychology

4 0
2 years ago
Which statement is true of Web-based social media?
Nataliya [291]
I think the answer is A.
6 0
2 years ago
A ____ network (or workgroup) consists of multiple windows computers that share information, but no computer on the network serv
ra1l [238]
<span>A peer-to-peer network (or workgroup) consists of multiple windows computers that share information, but no computer on the network serves as an authoritative source of user information. domain-based peer-to-peer server-based centralized</span>
5 0
3 years ago
WHICH OF THESE IS A TYPE OF ETHERNET <br> 802.11AC <br> 1000BASET <br> 4G
Kobotan [32]

Answer:

1000BaseT

Explanation: Just took the quiz and got it right!

1000BaseT is specific to Ethernet

802.11ac is a type of WiFi connection (even though it uses Ethernet)

4G is what they use to provide cell phone service

6 0
3 years ago
Physical education is the body's ability to function effectively and efficiently without excessive farigue. TRUE/FALSE
Salsk061 [2.6K]

Answer: True

Explanation:

6 0
2 years ago
Other questions:
  • ISBN-13 is a new standard for identifying books. It uses 13 digits d1d2d3d4d5d6d7d8d9d10d11d12d13. The last digit d13 is a check
    9·1 answer
  • What is one problem you should keep in mind when researching information on the Internet?
    6·2 answers
  • All ofthe following are correct EXCEPT one option when it comes towriting disappointing news letters. Identify theexception.
    6·1 answer
  • Which of the following is considered information?
    6·2 answers
  • 2. Use inheritance to create a hierarchy of Exception classes -- EndOfSentenceException, PunctuationException, and CommaExceptio
    6·1 answer
  • 1) Why is angle of view important? What are some of the ways that you can do this?
    6·1 answer
  • _____________ describes the abstraction of web-based computers, resources, and services that system developers can utilize to im
    9·1 answer
  • ANSWER ASAP!!!!!
    10·2 answers
  • MODERATOR DELETE MY ACC
    8·2 answers
  • Summary about Interface Design in system analysis
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!