Skip to content

UofT-DSI | Python - Assignment1#1

Open
torontodeveloper wants to merge 5 commits intomainfrom
assignment-1
Open

UofT-DSI | Python - Assignment1#1
torontodeveloper wants to merge 5 commits intomainfrom
assignment-1

Conversation

@torontodeveloper
Copy link
Copy Markdown
Owner

Anagram check assignment submitted

Copy link
Copy Markdown

@juliagallucci juliagallucci left a comment

Choose a reason for hiding this comment

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

Few issues with code. It only checks that all characters in msg1 exist in msg2 — but not whether counts match. So "aab" and "abz" would incorrectly return True.

Hint: Try simplifying using fewer lines with sorted() and string methods. Please revise

@torontodeveloper
Copy link
Copy Markdown
Owner Author

Thnx @juliagallucci, let me work and update the changes

@torontodeveloper
Copy link
Copy Markdown
Owner Author

@juliagallucci
I made corrections, i realized it's so simple ,i was overthinking about it

Copy link
Copy Markdown

@juliagallucci juliagallucci left a comment

Choose a reason for hiding this comment

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

Great!

@torontodeveloper
Copy link
Copy Markdown
Owner Author

Thnx @juliagallucci for helping us out all through the courses!!!

@torontodeveloper
Copy link
Copy Markdown
Owner Author

Also, I am assuming like other assignments, we won't merge assignment1, this is considered as assignment submission and approved/pass as well?

@juliagallucci
Copy link
Copy Markdown

Yes thats correct

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