You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I intend to do is know what parent does the input email contains. for example if my input email is [email protected], I should be able to output "user1". Here is my code:
My problem with this code is that it outputs everything and not the parent "user1" only OrderedDict([('user1', {'name: cycy, email: [email protected]})])
How can i modify this so that it only gives the parent "user1"
Thank you!
The text was updated successfully, but these errors were encountered:
I have this structure:
What I intend to do is know what parent does the input email contains. for example if my input email is [email protected], I should be able to output "user1". Here is my code:
My problem with this code is that it outputs everything and not the parent "user1" only
OrderedDict([('user1', {'name: cycy, email: [email protected]})])
How can i modify this so that it only gives the parent "user1"
Thank you!
The text was updated successfully, but these errors were encountered: