Question: 1.3 Complete the __lt__ method. An Ride object is less than another if it has a lower popularity score. THIS SHOULD BE DONE IN ONE
1.3 Complete the __lt__ method. An Ride object is less than another if it has a lower popularity score. THIS SHOULD BE DONE IN ONE LINE Example: >>> ride1 = Ride('Falcon's Fury', 'Drop Tower', 100, False) >>> ride2 = Ride('Kali River Rapids', 'Whitewater Rafting', 49) >>> ride1 >> ride2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
