Question: create a class in Python Create a class that takes the following four arguments for a particular football player: name: str age: int height: int
create a class in Python

Create a class that takes the following four arguments for a particular football player: name: str age: int height: int weight: int Also, create three functions for the class that returns the following strings: get_age () returns " name is age age" get_height() returns " name is height cm" get_weight() returns " name weighs weight kg" pl = player ("David Jones", 25, 175, 75) pl.get_age() - "David Jones is age 25" pl.get_height() "David Jones is 175cm" pl.get_weight() "David Jones weighs 75kg
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
