You sound young but ur understanding is awesome. All this is commercialised but you are just giving it away. I'am thankful & grateful to you & I would pray for ur long life.
Hello ma'am. You made my interview easy! I brought a python course on udemy, and didn't learn anything. But this playlist is just awesome! It's worth is much more! Thank you so much❤️
I saw so many videos on this, Everybody using the same things to explain, Thank you so much for this explanation, I saw part 2 as well, now concept clear.
Thank you Amul! I'm starting to get an understanding of @property. Keep getting "RecursionError: maximum recursion depth exceeded" with my Class. What would be the reason? class Country(): def __init__(self, name, capital): self.name = name self.capital = capital return @property def location(self): return self.location @location.setter def location(self, location): self.location = location print(self.location) TT= Country('Trinidad and Tobago', 'Port of Spain') TT.location = 'West Indies' print(TT.name) print(TT.capital) print(TT.location)
Hi ji, What is the diff attribute vs member vs constructor? If u make already any on the above pls share the link. Or else give short definition. Thanks.
Thank you for nice video. Here if I do not write "self.name=sent[0] & self.grade=sent[-1]" the output will same. So why I use these two lines. Please explain to me.
When i split a string using split() it split string into list. Here we know in the message first value or word is student name and last word is grade. To access that we are using indexing. sent[0] will give you name. [first element of list] sent[-1] will give you grade.[last element of list] :)
Amulya Sethi Your pronunciation for the words like: N=ann L=el O=wo And it iss the is making me to crazy for you. Your voice is so adorable that I can't stop me to listening you whole day.
You sound young but ur understanding is awesome. All this is commercialised but you are just giving it away. I'am thankful & grateful to you & I would pray for ur long life.
Thank you :)
Hello ma'am. You made my interview easy! I brought a python course on udemy, and didn't learn anything. But this playlist is just awesome! It's worth is much more! Thank you so much❤️
Thank you 😊❤️
I am a leaner from China.This "property" has confused me for a long time.Thank you for making it so clear. It helps me so much.
Those people who lived in china can use utube
I saw so many videos on this, Everybody using the same things to explain, Thank you so much for this explanation, I saw part 2 as well, now concept clear.
Many thanks! Clearly explained, I felt a great relief when I could understand this topic with your instruction. Absolutely a great feeling.
thank you for this video, first i got some confusion but later i got it clearly than ever. Thanks again
Glad it helped!
That was so helpful, thank you so much for clearing this mess up. Especially last 2 minutes where I was confused.
Glad it was helpful! :)
Clear and comprehensive explanation!
U r voice so nice and ur way of explanation so good...keep doing new tasks video's...
Thank you :)
Awesome sister .... Keep it up.
Thanks for your effort. Neat and crisp explanation
Thank you :)
thanks alot I got understood very well !!!
Glad to hear that :)
Great Thank you Amulya...
You're most welcome :)
Thank you Amul! I'm starting to get an understanding of @property. Keep getting "RecursionError: maximum recursion depth exceeded" with my Class. What would be the reason?
class Country():
def __init__(self, name, capital):
self.name = name
self.capital = capital
return
@property
def location(self):
return self.location
@location.setter
def location(self, location):
self.location = location
print(self.location)
TT= Country('Trinidad and Tobago', 'Port of Spain')
TT.location = 'West Indies'
print(TT.name)
print(TT.capital)
print(TT.location)
class Country():
def __init__(self, name, capital):
self.name = name
self.capital = capital
@property
def location(self):
return self.__location
@location.setter
def location(self, location):
self.__location = location
print("setting value:",self.__location)
TT= Country('Trinidad and Tobago', 'Port of Spain')
TT.location = 'West Indies'
print(TT.name)
print(TT.capital)
print(TT.location)
this because you have used the same values for property and attribute
Great explanation!
Thank you 😊
Hi ji,
What is the diff attribute vs member vs constructor?
If u make already any on the above pls share the link. Or else give short definition.
Thanks.
Really good thanks sister
Welcome 😊
Thank you mam. You are amazing.
Thank you for nice video. Here if I do not write "self.name=sent[0] & self.grade=sent[-1]" the output will same. So why I use these two lines. Please explain to me.
When i split a string using split() it split string into list.
Here we know in the message first value or word is student name and last word is grade.
To access that we are using indexing.
sent[0] will give you name. [first element of list]
sent[-1] will give you grade.[last element of list]
:)
i didnt get how changing msg from attribute to method overcame the problem
can someone explain
explore
Amulya Sethi Your pronunciation for the words like:
N=ann
L=el
O=wo
And it iss the
is making me to crazy for you.
Your voice is so adorable that I can't stop me to listening you whole day.
Great
Thank you Amulya.
what if msg grammatically incorrect , eg. stud1.msg = " Ali A got grade" lol , need more example
I know :)
ma'am , why don't you just make ======== stud1 = student('amulya', 'b') ========= instead of a setter .
The words are big so we ain't seeing well
Are you a girl or a boy
🤣😂