Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class Person implemented #862

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Black3942
Copy link

No description provided.

Copy link

@fsocie7y fsocie7y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about person husband? i think u need one more condition to check)

@Black3942
Copy link
Author

Black3942 commented Nov 22, 2023

yes, for the first time I think like that too, but after deep analysis situation and incoming data I figured out that this is no needed because we have a list of people that contains all people. So logically if someone has wife that means someone else will has husband and he or she will be inside the list, so using people dict we can get it do this task just check wife of husband no need to check both, am I right?

@Black3942 Black3942 requested a review from fsocie7y November 22, 2023 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants