The Creator

Report a typo

Suppose you're creating a fantasy role-playing game and want to have a class for elves. Elves are quite tall creatures, their average height is 1.8 meters, their weapon of choice is longbow and they reach emotional_maturity at the age of 125.

Create the class Elf with the attributes height, weapon, and emotional_maturity. Note that height and emotional_maturity should have numerical values.

You only need to create the class, no need to print anything!

Write a program in Python 3
# create an Elf here
___

Create a free account to access the full topic