Skip to content

Never-give-up100/oops-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Alt text

Beginner Python Projects — Classes & Objects

This repository contains 5 beginner-friendly Python projects to understand Classes, Objects, Attributes, and Methods.


Alt text
Concepts: Class, Objects, Instance Attributes, Methods
Description:

  • Create a Student class with name, roll_no, marks.
  • Add methods to display student info and calculate grade.

Alt text
Concepts: Class Attributes, Instance Attributes, Methods
Description:

  • Create a BankAccount class with account_number, balance.
  • Methods for deposit, withdraw, and check_balance.

Alt text
Concepts: Multiple Objects, Instance Methods
Description:

  • Create a Book class with title, author, available.
  • Methods to borrow_book() and return_book().

Alt text
Concepts: Object Methods, Encapsulation
Description:

  • Create a Calculator class with methods: add, subtract, multiply, divide.
  • Take input from the user and perform operations.

Alt text
Concepts: Constructor (__init__), Class vs Instance Attributes
Description:

  • Create a Car class with brand, model, year.
  • Method to display details and check car age.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages