27 October 2025
Jürgen Rominstext not yet in the index
Hmmm strange. Can you share your environment so I can mimic it on docker container
Kasukitext not yet in the index
Just go on youtube and check out these two channels
1. Code With Harry
2. Code basics
You will get everything
28 October 2025
id 7348666214hi all how about playwright.. anybody have idea?
yeah but better if you ask something specific
id 5748954155what is a playwright?
This group is not for people who are too lazy to try to find answers on their own.
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂In Method overriding,
When we call (subclass_name.method())
Will it call parent class's method or child class's method?
I have same name method in parent and child class
When i tried, in output, it gave result of parent class's method
Maxim Nwhy do you use class name to call method?
I created an object and i was calling a method called (borrow_book). It was supposed to check if there is still 3 books borrowed or not and if not, student can borrow, else they can't
BrainEateЯthe condition in line 68?
wanna know why??
at line 68-73 you are checking that condition before adding the book
first time you add the book length of borrowed books increases => 1
secomd time you add it becomes => 2
third time it becomes => 3
when fourth time you add the book, your condition checks if the length of borrowed books is *higher* than 3, but currently the length is 3 right now, so it adds the 4th book as well and length becomes => 4, but next time when try to add, the condition catches you and dosent let you add more.
you should change that condition to either
len(borrowed_books) == 3
or
len(borrowed_books) >= 3
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂In Method overriding,
When we call (subclass_name.method())
Will it call parent class's method or child class's method?
I have same name method in parent and child class
if you're unsure, you can print the object and see the output. eg: print(stud.borrow_book) and print(memb1.borrow_book)
pro tip: instead of using print(), better use attr() for this
29 October 2025
BrainEateЯwanna know why??
at line 68-73 you are checking that condition before adding the book
first time you add the book length of borrowed books increases => 1
secomd time you add it becomes => 2
third time it becomes => 3
when fourth time you add the book, your condition checks if the length of borrowed
It worked, Thanks mahn😊