filmov
tv
CREATION OF PACKAGE, SUB- PACKAGES AND MODULES #coding #codeprep #codingblog

Показать описание
CREATION OF PACKAGE, SUB- PACKAGES AND MODULES
ALGORITHM:
STEP 1: Start the program
STEP 2: Create a new folder named D:\College.
STEP 3: Inside College, create a subfolder with the name “all dept”..
STEP 5: Import the functions module from the college package and call its function and modules.
STEP 6: Stop the program.
actual code
---------------------
def admin():
print("CSE - ADMIN")
----------------------
def cabin():
print("AI & DS - CABIN")
In Main function :-
---------------------------
import cse , aids
output :-
CSE - ADMIN
AI & DS - CABIN
ALGORITHM:
STEP 1: Start the program
STEP 2: Create a new folder named D:\College.
STEP 3: Inside College, create a subfolder with the name “all dept”..
STEP 5: Import the functions module from the college package and call its function and modules.
STEP 6: Stop the program.
actual code
---------------------
def admin():
print("CSE - ADMIN")
----------------------
def cabin():
print("AI & DS - CABIN")
In Main function :-
---------------------------
import cse , aids
output :-
CSE - ADMIN
AI & DS - CABIN