Bite 163. Which packages were upgraded?

In this Bite you compare a list of packages (aka requirement.txt) from before vs. after (pip) upgrade. Check the TESTS tab for the format of the input data.

Complete the changed_dependencies function that receives the old and new requiements (multiline) strs and returns a list of package names that were upgraded (new version > previous version).

To keep it manageable you can assume that both requirement strs have the same packages, no packages were added or deleted.

Have fun and we hope you learn a thing or two! (hint: Python's standard library is your friend!)

7 out of 7 users completed this Bite.
Will you be Pythonista #8 to crack this Bite?
Average Bite difficulty 1-10 rating: 2.0
» You can do it! 😌

Github login button
We use Python 3.7