Answers for "flip a coin python code"

3

python flip a coin

import random

result = random.choice(["Heads","Tails"])
Posted by: Guest on June-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language