Did you know?
Did you know?
A control system is needed for a drone logistics hub to validate incoming delivery drones using a unique Drone Callsign and a five-digit Verification Code.
The drone registry is stored in a two-dimensional list. Each record contains: Registry ID, Manufacturer, Model, Drone Callsign, and Verification Code.
The list is sorted alphabetically by Drone Callsign. All drones have Verification Codes that are integers between 10000 and 99999 inclusive.
Create D02.py using the following starter code, then amend it to meet the requirements below.
drones = [
[1, "AeroTech", "Swift", "DRN-100", 12345],
[2, "SkyWorks", "Courier", "DRN-180", 45678],
[3, "AeroTech", "Cargo", "DRN-220", 98765]
]
Write a program to meet the following requirements:
Do not add any additional functionality.
Use comments, white space and indentation to make your program readable and easy to follow.
Save your amended code as D02FINISHED.py
158 exam-style questions on Edexcel GCSE Computer Science Algorithms, covering Constructs for solving problems, Variables, constants and data structures, Arithmetic, relational and logical operators, Tracing algorithm output with trace tables, Types of error and correcting logic errors, Standard algorithms (sorts and searches), and Evaluating algorithm fitness and efficiency. Each one has a worked solution and a markscheme showing where the marks go.