Write a Python program to simulate a space mining game called 'Asteroid Miner'.
The rules of the game are as follows:
You can see an example of two different executions below:
Example Run 1 (Identical yields):
Fragment 1: 3
Fragment 2: 8
Current cargo: 11
Would you like to drill again? (y/n): y
Fragment 1: 5
Fragment 2: 5
Fissure rupture! Cargo lost!
Example Run 2 (Player stops):
Fragment 1: 2
Fragment 2: 9
Current cargo: 11
Would you like to drill again? (y/n): y
Fragment 1: 7
Fragment 2: 1
Current cargo: 19
Would you like to drill again? (y/n): n
Mission complete! Your final cargo is: 19
You should use meaningful variable names, correct data types, and proper syntax in your answer.
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.