import random\n\ndef predict_coin():\n    if random.random() > 0.5:\n        return "Heads"\n    else:\n        return "Tails"
Write a computer program to predict the probability of a coin tossing event.?