Gryps interview question

Two scenarios for python and css