Problem Link: https://www.hackerearth.com/challenge/competitive/february-easy-19/algorithm/pile-of-coins-d33de897/ Ashish and Jeel are playing a game. They are given ...
def make_amount(rupees_to_make,no_of_five,no_of_one): five_needed=min(rupees_to_make//5,no_of_five) one_needed= rupees_to_make - (five_needed * 5) ...