Python Tutorial to learn Python programming with examples
Complete Python Tutorial for Beginners Playlist :
Python Tutorial in Hindi :
Editing Monitors :
Check out our website:
Follow Telusko on Twitter:
Follow on Facebook:
Navin Reddy :
Follow Navin Reddy on Instagram:
Subscribe to our other channel:
Navin Reddy :
Telusko Hindi :
PayPal Id : navinreddy20
Patreon : navinreddy20
Xem thêm bài viết khác: https://altcommtechniques.com/game/
Sir could you explain how u take argument in Student , as Student is class not a method..
I just wrote an code as it is but error occurred on line self.lap.show(). Here the error occurred so please help me guys 🙏
(Siddesh): Thank you sp much Navin.
can we make two constructors as we do in other progg. lang. one constrict. take some argument and other constrict takes no argument??
Sir, When we create a object of inner class, OUTSIDE outer class and keep some changes in its variable by this object. Then after accessing that variable by the object of inner class created INSIDE outer class, it can not changes its variable's value…… Why??
How to change student two laptop information ?? Please anyone can help
It would be better if you have added any exercise at the end of the video
sir ur tuts are love.. in this lockdown
Sir, the concept didn't get clear. Still have many doubts. Could you please add one more video for the inner class. plzz
If you want a different example of inner class; here it is
self.rectangle = self.rectangle()
self.triangle = self.triangle()
self.l = int(input("Enter length:"))
self.b = int(input("Enter breadth:"))
area = self.l * self.b
print("The area of rectangle is:",area)
self.h = int(input("Enter height:"))
self.b = int(input("Enter base:"))
area = 0.5 * self.b * self.h
print("The area of triangle is:",area)
r1 = geometry.rectangle()
t1 = geometry.triangle()
Sir, can you please tell me how we can pass input taken by the user to the object of inner class
sir ye video to bilkul bhi samaj nhi aayi
can u can a simple version of this video …plz
Sir ye confusing h smg nhi aaya 2 bar dekha video pls explain
Sir can you please explain regarding creating object of inner class??
and explain again regarding:
why didn't we use self,cpu,ram in laptop class
Why is it necessary to define object of inner class in the init of outer class?
Holy crap these are amazing quality and very well produced. The audio was good, the camera nice, It was well lit, and the little animated graphics were a nice touch and of good quality as well. This goes far beyond any typical Youtube tutorial on these kinds of topics.
Thank you so much for paying attention to these kinds of details. They mean so much more than most people know. Thank you so much.
What if I want to ask the user to enter the values for ram , cpu and brand.
I mean I don't want to enter values within the program , then how can I do it. Please reply sir
Pls upload a video of tkinter in python🙏
why don't you upload the notes of python course in your website
Sir please give us a project with python, because I am a engineering student (IT),so make the videos for a project.
please, anyone tell me what is wrong with this code …. I tried to assign the values in setdata method rather than init method.
Why we have to use self. Laptop().
whatb does it create
i don't understand 5:05
Sir! Can I have ur Instagram I'd name? Sir
thanks for your hard work for us.bcos of ur effort we able to learn python
sir how do we pass data to inner class through objects of the outer class?
navin ji, is there any way of get more example of this video ?
if we don't provide any decorator and call method using ClassName it still works. So why to have decorator ????. e.g method is just printing random string.
where we are declaring the lap key word
I love the way of presentation
thank you sir………
Sir I have a doubt, what if we want a parameterized constructor in inner class then how to call it and execute it? I tried it but I am getting error inside outer class constructor. Please help me out sir.
Can anyone tell me how I access the outer class constructor in inner class?
very good tutorial, however if OOP is concerned i watched other tutorials on you tube by Corey Schafer for better understanding of the concept.
Moreover, i found your way to create object for the subclass inside the parent class (as attribute)quite unfamiliar!.
Thank you for tutorial, very helpful , THANK YOU
#When I run this code, its show the output :
#Why it printing None
class Student :
def __init__(self, name, marks):
self.name = name
self.marks = marks
def __init__(self, brand, ram):
self.brand = brand
self.ram = ram
lap1 = Student.Laptop('hp', 16)
plz make a video about linked list in python
He is stupid
How to take user input for inner class variables
How can we take input from the user like name and age marks of students
Best video tutorials I've come across yet. Mucho gracias.
You are awesome sir ❤
How to dynamically input into the inner function and append that value to a list