Advertisements
In this project, I want you to create your own module. The module needs to have 3 methods (functions):
- Method called Intro > Accepts 1 argument > Name > Prints “My name is <the inputted name>”
- Method called Job > 2 args > Name, Job > Prints “Hi, I am <name>, and I am a <job>”
- Method called Pets >2 args > Number, Pets > Prints “I have <number> <pets>”
Open a new python script, import your module and test the three methods.