Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want to know how to have a package with two modules in python. The first module has function called grade () that accept student
I want to know how to have a package with two modules in python.
The first module has function called grade () that accept student name and total point and display both to screen. The point value should default to 0.
Second module, has a function studenProfile() that can accept two arguments, name and age, and print its value. Then write a separate script that imports both modules as "x" and "Y".
We need to Call both functions
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started