Exercise 1 Open A New File In Idle New Window In The File Menu And Save It As Lab11 Py In The Directory Where You 1 (43.07 KiB) Viewed 33 times
Exercise 1 Open A New File In Idle New Window In The File Menu And Save It As Lab11 Py In The Directory Where You 2 (43.07 KiB) Viewed 33 times
Exercise 1: Open a new file in IDLE ("New Window" in the "File" menu) and save it as lab11.py in the directory where you keep the files you create for this course. Then copy the functions you wrote for Exercise 3: (menu Writing) from lab 9. into this file and save it. Now open a new file and save it in the same directory. You а should now be able to import your own module like this: import lab11 Try the following and write what you find. print(dir(lab11)) Use the function Factorial to calculate (3) Write 3 more different ways to import Factorial ()
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!