🔥 Learn Python with a more hands-on experience with Programiz PRO-interactive lessons, quizzes & challenges. Try Programiz PRO: bit.ly/right-python
@serpentinefireball3 жыл бұрын
Just brilliant! I have understood everything as a complete beginner. Thank you!
@curiouscucumber71623 жыл бұрын
Your videos are so underrated, have learnt complex topics like OOPS in a matter of few days. Thanks
@danielnelson85924 жыл бұрын
Programiz is a good place to learn. Thanks a lot for your help
@nancyfazal2536 Жыл бұрын
Too good ! Please add lectures on Abstraction, Encapsulation and Polymorphism also.
@srikrishna5463 жыл бұрын
Can you please continue this series it clears the doubts so much with such an ease. Thanks for the video and please please please upload more such videos
@jeevithaloknath97872 жыл бұрын
super explanation. Nothing was getting inside my mind before watching this. really wonderfull!!
@saiavinashduddupudi89753 жыл бұрын
Correction at 03:43 - It should be *Object of Dog Class* Not Animal class Because objects of the Animal class does not have access to attributes and methods of Dog Class.
@ziyah17354 жыл бұрын
Thanks for all your info truly amazing....Bless up and keep up the Great Work....
@piyushkurve4573 жыл бұрын
Please make videos on Multiple Inheritance and Operator overloading as well
@yordannedelchev8797 Жыл бұрын
This is the first Indian guy that I actually enjoy listening.
@vedakunjir79162 жыл бұрын
Can you please continue the series sir ,its easy to understand the way you teach
@aidendouglas86722 жыл бұрын
Thank you! This was a very helpful video
@homerdarang28323 жыл бұрын
I clearly understand the OOP here. Thanks dude.!
@kajalchandravanshi24563 жыл бұрын
Respect your content 😊😊
@Rameshkumar-tn3wp3 жыл бұрын
Simple explanation , thanks...
@DessertWali3 жыл бұрын
Your explanation is really very good Please make all videos on Oops concept s
@kawaiikina36182 жыл бұрын
Happy Programming!😇
@sandipansarkar92113 жыл бұрын
great explanation
@tamimadnan44823 жыл бұрын
class polygon(): def __init__(self, sides): self.sides = sides def display_info(self): print("the polygon is a two dimensional shape with straigt lines") def get_perimeter(self): perimeter = sum(self.sides) return perimeter class triangle(polygon): def display_info(self): print("the triangle is three sides of edges") class quadlilateral(polygon): def display_info(self): print("the quadlilateral is four sides of edges") t1 = triangle([3,4,5]) perimeter = t1.get_perimeter() print("The perimeter is", perimeter) here showed that the triangle has get_perimeter attributes, but I can't fix the error. Can u please help me?
@edmondallan4662 жыл бұрын
you didnt give space known as indendation in the class polygon methods if you space in methods of the class polygon your program will correct
@OmarMohamed-it8ly3 жыл бұрын
This helped me so much...thank you
@omkarpanda39064 жыл бұрын
waiting for abstraction and encapsulation #askprogrammiz
@vaishnavivr32042 жыл бұрын
Can u please create one video about polymorphism, encapsulation and abstraction please...
@riyashrestha34834 жыл бұрын
Which text editor do you guys use?😀 #askprogramiz
@JohnWickXD Жыл бұрын
Thanks alot;)
@surya6912 жыл бұрын
Should we have to give "object" to function name ?? Here dog1 for dog?
@shankarsai20674 жыл бұрын
What is this class... when will u start Python modules??
@shalinigilani7392 жыл бұрын
what does argument (self) mean ?
@morin19973 жыл бұрын
Yeah, this is getting hard... :D
@Ynaxio3 жыл бұрын
10:11 why comma and not dot??
@programizstudios3 жыл бұрын
We use comma in the print() function to print multiple objects. For example, print("Hello", "there") And, the . operator is used to access methods and attributes of an object. For example, my_list = [1, 2, 3] my_list.append(4) print(my_list)
@jafecc3 ай бұрын
Always make sure that the spelling of every word must be correct.
@divyaahirkar91833 жыл бұрын
IS THIS CODE RIGHT???? marks = int(input("enter your marks:")) number_of_subjects = int(input("enter no. of subjects:")) class marks_obtained(): def __init__(self,name,marks,number_of_subjects): self.name = name self.marks = marks self.number_of_subjects = number_of_subjects def percent_obtained(self): total = self.marks/self.number_of_subjects percentile = total*100 print("self.name has scurred :" ,percentile) return percentile def rank_securred(self): if percentile >=90: print("self.name has got an A ") elif 90 >percentile>=80: print("self.name has got B") else : print("self.name has got C") return rank class student_1(marks_obtained): pass c1 = student_1("Harry",marks,number_of_subjects) percentile = student_1.percent_obtained() rank = student_1.rank_securred()
@darkwolves03 Жыл бұрын
you dint pass the marks and number of subjects arguments
@mishrarenuka75054 жыл бұрын
write a program to calculate the total amount payable by the customer on purchase of any item with GST lived on it develop a user friendly approach using while loop Bro iska source code bata do Ya phir kisi ko bhi ata ho toh bata do plz
@divyaahirkar91833 жыл бұрын
HOPE THIS HELP!!! # write a program to calculate the total amount payable by the customer on purchase of any item with GST lived on it develop a user friendly approach using while loop class Amount_payable(): def __init__(self,name,cost_of_item): self.name = name self.cost_of_item = cost_of_item def total_amount(self): GST = 10.3 if self.cost_of_item > 1000: final_amount = self.cost_of_item + GST print(final_amount) else: print("its GST free") return pay class Customer(Amount_payable): pass c1 = Customer("janet", 50000) pay = c1.total_amount() print(pay) class Customer2(Amount_payable): pass c2 = Customer2("harry",100) pay = c2.total_amount() print(pay)