Saras Jadhav

F.E. PPS Unit 5 Practical 2 solution

Practical 2:program to access class members using a class object. Problem Statement Write a Python program to access class members using a class object. Solution Code class Employee: company_name = “TechCorp” # Class variable def greet(self): return f”Welcome to {self.company_name}” # Creating an object of Employee class emp1 = Employee() # Accessing class members using …

F.E. PPS Unit 5 Practical 2 solution Read More »

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): …

F.E. PPS Unit 4 Practical 9 solution Read More »

Tech Amplifier Final Logo