Simple_Heads_Tails Random Randint - which perfoms integer funtions if conditions Process First, have to import random module in your code Next assign variable for random 0 and 1 using randint function At last use if condition to check out the Heads (1) and Tails (0)