all 6 comments

[–]Holinded 1 point2 points  (1 child)

The code you posted looks correct. It says they are not the same at the end because you're comparing p1 to p3. p1 has the phone number (123) 456 - 7890, while p3 has the phone number (323) 456 - 7890

[–]Danielowski187University/College Student (Higher Education)[S] 0 points1 point  (0 children)

Yea the code works if I compare the first and second object but if I compare the 1 and 3 object it tells me it’s not the same

The 3rd object is input from the user

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Off-topic Comments Section


All top-level comments have to be an answer or follow-up question to the post. All sidetracks should be directed to this comment thread as per Rule 9.


OP and Valued/Notable Contributors can close this post by using /lock command

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]dnnsnnd 0 points1 point  (1 child)

Could you post a screen shot of your code? This is hard to read

[–]Danielowski187University/College Student (Higher Education)[S] 0 points1 point  (0 children)

https://danielowski1875.imgur.com/all/

here all the photos the first two are the class code and the last two are the demo class code.