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
givi [52]
4 years ago
3

Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90)

go east/west. Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, I-405 services I-5, and I-290 services I-90.
Given a highway number, indicate whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves. Also indicate if the (primary) highway runs north/south or east/west.
Computers and Technology
1 answer:
Elan Coil [88]4 years ago
3 0

Answer:

num1 = input("Enter the Highway Number?(max digit allowed 3)")

n = int(num1)

def calc1(n):

   Lst = []

   while n > 0:

       remainder = n % 10

       Lst.append(remainder)

       quotient = int(n / 10)

       n = quotient

       

   return(Lst)

n1=calc1(n)

if len(n1) <3:

   if n1 % 2 == 0:

       print("The Highway(primary) go east west")

   else:

       print("The Highway(primary) go north south")

else:

   if len(n1)== 3:

       Highwaynumber = int(n1[1]) * 10 + int(n1[0])

       if Highwaynumber % 2 == 0:

           print("The Highway serves primary highway that go east west and primary highway number is I-" +str(Highwaynumber))

       else:

           print("The Highway serves primary highway that go north south and primary highway number is I-" +str(Highwaynumber))

   else:

       print("You entered wrong highway number")

Explanation:

First, we find all the digits of the number and store it in a list. This list is dynamic in nature. However, for this problem. we have mentioned that a number of digits should not be more than 3 as highway numbers cannot be of a higher order than that. And thereafter the program is self-explanatory.

You might be interested in
Briefly describe the client/server model.
Marina86 [1]
The client-server model is network architecture in which each computer or process on the network is either a client or a server. The components are clients, servers and communication network. <span>1. Clients are applications that run on computers. It relies on servers for files, devices, processing power. </span> Example: Email Client Email Client is an application that enables you to send and receive e-mail <span>2. Servers are computers or processes that manage network resources:</span> Disk drives (file servers) Printers (print servers) Network traffic (network servers)  Example: Database Server is a computer system that processes database queries  <span>3. Communication Network is a networks connect clients and servers</span> <span> </span>
6 0
3 years ago
Internet users aged 15 and older are expected to buy about ________ worth of products and services online in 2022 (excluding tra
gregori [183]

Internet users aged 15 and older are expected to buy about<u>  $500 billion </u>worth of products and services online in 2022.

<h3>Who are the most users of internet?</h3>

China ranks first in this list of countries with most internet users. Due to its ongoing and fast-paced economic development, but also to a cultural inclination towards technology, more than a billion of the estimated 1.4 billion population in China are online

<h3>How many internet users are there in the world 2022?</h3>

The global total has still increased by 7.5 percent year on year though, with an additional 326 million new users over the past 12 months taking the global count to 4.65 billion by the start of April 2022.

To learn more about Internet users, refer

brainly.com/question/27003790

#SPJ4

Complete Question is,

A) $200 million

B) $900 million

C) $40 billion

D) $100 billion

E) $500 billion

4 0
2 years ago
Mary uploaded some images on her website. She chose an image and downloaded it. She found that the image she saw on screen did n
zalisa [80]

Answer:

A.

Some image resolution was lost while uploading it

As she uploaded them on her website not downloading as choice B&D show while E is false and C is rarely occur

7 0
3 years ago
Can someone please help me with fixing this bug? (Ten points if you are able to help me)
Viefleur [7K]
Reset your phone or delete the app, the download it again
3 0
3 years ago
Read 2 more answers
The first early astronomer to propose a sun-centered solar system was _____. Newton Brahe Copernicus Galileo
Airida [17]

Copernicus !

<em>Brainliestt? :o</em>

8 0
3 years ago
Read 2 more answers
Other questions:
  • What is a organisation in office technology
    7·1 answer
  • What type of device is the printer?
    13·2 answers
  • Philip is thinking about customizing his motorcycle. A paint job, saddlebags, and a radio would cost $600. His motorcycle is old
    15·2 answers
  • Although you can use a dialog box to indent paragraphs, word provides a quicker way through the ____.
    7·1 answer
  • How many times has the ITU-R revised the CCIR 601 international standard?
    15·1 answer
  • Which three factors should be discussed before planning and building a project?
    15·1 answer
  • In the movie Charlie and The Chocolate Factory, why did Augustus Gloop go against Mr. Wonka’s instructions and drink from the ch
    15·1 answer
  • A pizza delivery restaurant decides to stop hiring drivers and start hiring cyclers to deliver its pizza. The restaurant thinks
    15·1 answer
  • Free Write Friday 2/26/21
    8·1 answer
  • Write a program that calculates the amount of money in a savings account that earns a guaranteed yearly interest rate. The progr
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!