Develop a solution to flip a coin a given amount of times andthen print the number of heads and the number of tails. Theequation to toss the coin is Coin = Integer(Random * 2) + 1.
When Coin = 1 the toss is heads, and when Coin = 2 the toss istails. Random returns a number between 0 and 1, including 0 but not1. Therefore, when Random is less than 0.5, Coin will equal 1: andwhen Random is greater than or equal to 0.5 and less than 1, Coinwill equal 2.
Write the pseudo code first and then code it in Python.
Write
PayPal Gateway not configured
PayPal Gateway not configured