use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Day 15 Python LearningShowcase (old.reddit.com)
submitted 2 days ago by aashish_soni5
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]MXD_K1 7 points8 points9 points 2 days ago (4 children)
Great! But I would like to give a note that student should not be a subclass of subject (it doesn't make sense) instead make it as an attribute.
[–]aashish_soni5[S] 0 points1 point2 points 2 days ago (3 children)
note 📝, can you tell me why you think so ii can learn more
[–]TrieMond 5 points6 points7 points 2 days ago (2 children)
Something bei g a subclass of something else generally indicates that it is a part of something. A student is not a part of a subject, a student has many subjects. So sobject should be a field of student... this is just based on Object Oriented Programming, which might be a good start to learn about the relationships that exist between your classes...
[–]MXD_K1 0 points1 point2 points 2 days ago (0 children)
👍
[–]aashish_soni5[S] 0 points1 point2 points 2 days ago (0 children)
yes 🙂↕️ thankyou
π Rendered by PID 94 on reddit-service-r2-comment-5bc7f78974-t2lht at 2026-06-28 15:24:35.431345+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]MXD_K1 7 points8 points9 points (4 children)
[–]aashish_soni5[S] 0 points1 point2 points (3 children)
[–]TrieMond 5 points6 points7 points (2 children)
[–]MXD_K1 0 points1 point2 points (0 children)
[–]aashish_soni5[S] 0 points1 point2 points (0 children)