F.E. PPS Unit 4 Practical 9 solution
Practical 9: Python program that creates a new directory and changes the current working directory to that newly created directory. Problem Statement Write a Python program that creates a new directory and changes the current working directory to that newly created directory. Solution Code import os # Function to create and change directory def create_and_change_directory(new_dir): …