1# Import the RANDOM library.2import random as RANDOM # the 'as RANDOM' part could be optionial, 3# it's just choosing a name for the import.45defflip():6 flipped = RANDOM.choice('Heads','Tails')
7print(f'You flipped {flipped}')
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content