flip a coin online code example
Example 1: coinflip
import random
random.choice('Heads', 'Tails')
Example 2: coin flip
//Use this at the top
using System;
//Put this under code
Random rnd = new Random();
string Answer = "Head";
if (rnd.Next(0,2) == 1)
{
Answer = "Tails" ;
}