Тёмный

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

Parampreet Singh
Подписаться 2,1 тыс.
Просмотров 396
50% 1

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/@Pa...
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/Par...
Kaggle 🔗 kaggle.com/par...

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Борщ в стиле высокой кухни!
00:57
Ребенок по калькуляции 😂
00:32
Просмотров 128 тыс.
I Hacked a Chatbot! (And You Can Too!)
14:23
Object and Class in Python | Hindi
8:17
Просмотров 9 тыс.