write a program to simulate the game of tossing a coin. ask the user head or tail by pressing the key "H" or"T" respectively. Show the result of the game with an appropriate message.repeat the game until the user presses a key other than "H" and "T".
sample output:
Enter your guess:H
You win!
The outcome is H
Enter your guess:T
You loss!
The outcome is H.
Enter the guess:E
Thank you for trying!