Programming in Python I OOP - Object Oriented Programming I Session - 18 | Hindi

Поділитися
Вставка
  • Опубліковано 6 кві 2023
  • Programming in Python I OOP - Object Oriented Programming I Session - 18 | Hindi
    In this session, we have discussed:
    💠 Object Oriented Programming
    🔹 Classes & Objects
    🔹 Attributes & Methods
    🔶 Task 🔗 replit.com/@Param302/OOP-Sess...
    Task:
    marks ranges from 0 to 100
    Student class:
    Attributes:
    - gender
    - cgpa
    - total credits earned till now
    - marks: list of marks
    Methods:
    - opt_course(course, marks)
    - withdraw_course(course)
    Course class:
    Attributes:
    - total no of students who have opted the course
    Methods:
    - calculate_course_gpa(student)
    - prints student's grade point and grade for each course.
    Example:
    Course.calculate_course_gpa(param)
    Follow me on my social handles:
    Bio link 🔗 param302.bio.link
    Twitter 🔗 / param3021
    LinkedIn 🔗 / param302
    Github 🔗 github.com/Param302
    Kaggle 🔗 kaggle.com/param302

КОМЕНТАРІ •