Question: Python code is required: Create a class named Coin and attributes the value of the coin and the year it wascreated. Implement a method in
Python code is required:
Create a class named Coin and attributes the value of the coin and the year it wascreated.
Implement a method in the above class which flipsthrows the respective coin and returns either Head or "Tail
A test is required.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
