Login and get coding
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.
changed_dependenciesfunction that receives the old and new requiements (multiline)
strs and returns a
listof 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.
A note about the digits (major/minor) numbers in the packages: they are
twilio==6.3.0(see also Twilio's history log).
Have fun and we hope you learn a thing or two! (hint: Python's standard library is your friend!)
Will you be Pythonista #117 to crack this Bite?
Resolution time: ~51 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.71 on a 1-10 difficulty scale.
» You can do it! 😌