A marine biologist wants to create unique tracking codes for marine specimens in a research database.
| specimenID | species | location |
|---|---|---|
| M401 | DOLPHIN | PACIFIC |
| M402 | TURTLE | ATLANTIC |
| M403 | OCTOPUS | INDIAN |
A tracking code is made up of the:
specimenIDspecieslocationFor example:
Write a Python program to generate the tracking code for a specimen.
The program should:
specimenID, species and locationtrackingCodeYou 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.