Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a python program that do the following: Q1: Display the current working directory on your system. Q2: Create a new directory called your
Write a python program that do the following: Q1: Display the current working directory on your system. Q2: Create a new directory called your first name_lab7 Q3: Inside your folder create 2 sub folders: part1 and part2 Q4: Using loop print the current working directory 5 times and no hard coding. Q5: Add a function called test that accept the name of current directory and number of time and prints the name of current directory based on the given number of times. Q6: Invoke the test function. Sample Output: C:\Users\week7 done Q1 done Q2 and Q3 C:\Users\week7 C:\Users\week7 C:\Users\week7 C:\Users\week7 C:\Users\week7 done Q4 Enter number of times: 2 C:\Users\week7 C:\Users\week7 done Q5 and Q6
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