All Blogs

Building an Instagram Clone Using Django

Building an Instagram Clone Using Django Introduction Instagram is one of the most popular social media platforms, allowing users to share photos, videos, and stories. In this blog, we’ll build a simplified version of Instagram using Django. The project will include features like: User Authentication: Register, login, and logout. Post Creation: Upload images with captions …

Building an Instagram Clone Using Django Read More »

F.E. PPS Unit 5 Practical 8 solution

Practical 8: Create Class EMPLOYEE for Storing Details and Functions for Employee Count. Problem Statement Create Class EMPLOYEE for Storing Details and Functions for Employee Count. Define function members to compute: Total number ofemployees. Count of male and female employees. Employees with salary greater than 10,000. Employees with designation “Asst Manager”. Solution Code class Employee: …

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

F.E. PPS Unit 5 Practical 6 solution

Practical 6: Program to illustrate the difference between public and private variables. Problem Statement Write a Python program to illustrate the difference between public and private variables. Solution Code class Employee: def __init__(self, name, salary): self.name = name # Public variable self.__salary = salary # Private variable def display(self): print(f”Name: {self.name}, Salary: {self.__salary}”) # Creating …

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

F.E. PPS Unit 5 Practical 4 solution

Practical 4: Program to differentiate between class variables and object variables Problem Statement Write a Python program to differentiate between class variables and object variables. Solution Code class Employee: company_name = “TechCorp” # Class variable def __init__(self, name): self.name = name # Object variable # Creating objects emp1 = Employee(“Alice”) emp2 = Employee(“Bob”) # Accessing …

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

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 »

Tech Amplifier Final Logo