A marine biologist wants to create unique tracking tags for marine mammal sightings during research expeditions.
Table 1 shows some of the recorded sightings.
| sightingID | species | location |
|---|---|---|
| S109 | BLUE WHALE | PACIFIC |
| S214 | ORCA | ATLANTIC |
| S305 | HUMPBACK | INDIAN |
A tracking tag is made up of the:
sightingIDspecies namelocationFor example:
Write a Python program to generate the tracking tag for a sighting.
The program should:
sightingID, species and locationtrackingTagYou should use indentation as appropriate, meaningful variable name(s), and valid Python syntax in your answer.
89 exam-style questions on AQA GCSE Computer Science String handling operations in a programming language. Each one has a worked solution and a mark scheme showing where the marks go.