Login and get codingIn 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)str
s and returns alist
of package names that were upgraded (new version > previous version).To keep it manageable you can assume that both requirement
str
s have the same packages, no packages were added or deleted.A note about the digits (major/minor) numbers in the packages: they are
int
s, sotwilio==6.23.1
>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 the 121st person to crack this Bite?
Resolution time: ~50 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 3.71 on a 1-10 difficulty scale.
» You can do it! 😌