Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2a2cba8

Browse files
authored
Updated comments at file end
1 parent d14b83a commit 2a2cba8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎docs/OOPS/static2.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,10 @@ def disable_discount(list_of_mobiles):
4040
disable_discount(list_of_mobiles)
4141

4242
mob4.purchase()
43+
44+
45+
'''
46+
However, in our current approach, each object has discount as an attribute.
47+
If we change the value for one object, it does not affect the other object.
48+
If we have to change, we have to change for all the objects, one by one.
49+
'''

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /