michael4227 / OIM3640-2021fall

Python
0 stars 0 forks source link

Exercises in List #9

Closed lzblack closed 2 years ago

lzblack commented 3 years ago

https://github.com/michael4227/OIM3640/blob/1b9db29e617d57fc23c3d3503d974899b8c64f36/session12/ex_12#L156-L186

We solved this in class using one-liner.

michael4227 commented 2 years ago

"return sorted(word1)==sorted(word2)"