cam961
21.08.2019 •
Computers and Technology
Briefly describe the osi reference model and the tcp/ip networking model, use diagrams to show the relationship between both these models?
Solved
Show answers
More tips
- F Food and Cooking How to Make Delicious Plov: Secrets and Recipes...
- S Sport How to Learn to Pull Up on Monkey Bars?...
- L Leisure and Entertainment Scrapbooking: What is it and Why is it Becoming More Popular?...
- C Computers and Internet Where did torrents.ru move to?...
- B Business and Finance Understanding Cash Flow: What It Is and How It Works...
- C Computers and Internet What Are Peers and Seeds in Torrenting?...
- H Health and Medicine 10 Simple Techniques on How to Boost Your Mood...
- G Goods and services How to Choose the Right High Chair for Your Baby?...
- S Style and Beauty Learn how to tie a keffiyeh on your head like a pro...
Answers on questions: Computers and Technology
- B Biology Apostmenopausal woman who has cancer of the breast decides to have a lumpectomy followed by chemotherapy. after receiving chemotherapy for several weeks, she says to a nurse...
- M Mathematics 7t-8t+4=5t-2 Solve for t...
- B Business Bruce Corporation makes four products in a single facility. These products have the following unit product costs: Products A B C D Direct materials $ 17.30 $ 21.20 $ 14.20...
- M Mathematics Question 3 (1 point) A line passes through the points (0, - 4) and (2, - 11). If (x, y) is an arbitrary point on the line other than (0, - 4), which equation can you write...
- M Mathematics The area of a poster board is x2+3x-10 square inches. Find the dimensions of the poster board if x=14...
Ответ:
Open your python console and execute the .py code with the number 10 e.g
Output:
Write the number of the US Interstate Highway route: 10
Interstate 10 | long-distance arteral highway orientation east-west
Code:
num_input=int(input("Write the number of the US Interstate Highway route: "));
distance='';
orientation='';
parent='';
type_road='';
while (num_input!=0):
if ((num_input<0) | (num_input>999))==0:
if ((num_input//100)==0):
if (num_input%2==0):
orientation='east-west';
else:
orientation='north-south';
if (num_input%5==0):
distance='long-distance arteral highway';
else:
distance='';
print('Interstate',num_input,'|',distance,'orientation',orientation);
else:
if (((num_input//100)%2)==1):
type_road='a spur highway';
else:
type_road='a loop highway';
parent=num_input%100;
print('Interstate',num_input,'is-',type_road,'of interstate',parent);
num_input = 0