subject

Drone delivery Suppose you are building a robot (drone) capable of delivering e-commerce packages to customers' homes. As a developer, you are instructed to create a Python program to translate names on orders into locations (coordinates represented as tuples) so the delivering team can program everything into the drones without any hassles of looking up an address book Suppose you are provided with following customer names and address pairs. Customer Name Address Alice (92617, 10, 1200) Bob (92617, 10, 8320) Cindy (92630, 15,2550) Wang (91250, 24, 3205) Chang (91450, 61, 9982) (91750, 92, 6420) Lee Steve (91250, 89, 7102) Turing (96250, 57,8311) Fourier (90318, 83,9158) (94832, 29,6204) McCulloch Tanaka (95623, 38, 4311) Ichiro (93324, 13, 10056) Shohei (90125, 24, 2309) Note that address is encoded as a 3-tuple where the first element holds zip code (int), the second entry holds an encoded number of street name (int), and the last entry is the street number (int). Can you create a list of tuples when supplied with 5 customer names? Program description Task 1: Build a Customer Name/Address dictionary 1. From the Customer Name Address table above, build a dictionary of key/value pairs as specified: The customer name is the key, and the value is the coordinate tuple Task 2: Build a List of Customer Tuples 1. Your program takes in 5 customer names from user input (with exact formatting as indicated below) 2. For each customer, add the coordinates into a list. 3. Print the list out with exact formatting as indicated below Sample print-out When input is Alice Bob Cindy Wang chang Standard output exactly matches Enter customer 1's name: Enter customer 2's name: Enter customer 3's name: Enter customer 4's name: Enter customer 5's name: Routing addresses are: [(92617, 10, 1200), (92617, 10, 8320), (92630, 15, 2550), (91250, 24, 3205), (91450, 61, 9982)]

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 05:30
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Given a link with a maximum transmission rate of 32.8 mbps. only two computers, x and y, wish to transmit starting at time t = 0 seconds. computer x sends filex (4 mib) and computer y sends filey (244 kib), both starting at time t = 0. statistical multiplexing is used, with details as follows packet payload size = 1000 bytes packet header size = 24 bytes (overhead) ignore processing and queueing delays assume partial packets (packets consisting of less than 1000 bytes of data) are padded so that they are the same size as full packets. assume continuous alternating-packet transmission. computer x gets the transmission medium first. at what time (t = ? ) would filey finish transmitting? give answer in milliseconds, without units, and round to one decimal places (e.g. for an answer of 0.013777 seconds you would enter "13.8" without the quotes)
Answers: 3
question
Computers and Technology, 23.06.2019 10:50
Your friend kayla is starting her own business and asks you whether she should set it up as a p2p network or as a client-server network. list three questions you might ask to kayla decide which network to use and how her answers to those questions would affect your recommendation.
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
You know the right answer?
Drone delivery Suppose you are building a robot (drone) capable of delivering e-commerce packages to...
Questions
question
Mathematics, 25.05.2021 18:00
question
Mathematics, 25.05.2021 18:00
Questions on the website: 13722367