Question: Which statements are correct for importing and using the method f that takes an int as its parameter? *a. from my_methods import f b. from
Which statements are correct for importing and using the method f that takes an int as its parameter? *a. from my_methods import f b. from my_methods.py import f c. import f from my_methods d. import f from my_methods.py
|
| from my_methods import f print(f(23)) |
|
| from my_methods import f print(my_methods.f(23)) |
|
| import my_methods print(f(23)) |
|
| import my_methods.py print(my_methods.f(23)) |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
