def start(self):
        """Randomly display an amount of change and ask how many of each coin
        type are needed to equal the amount displayed.
        """
        self.display_intro()
        currency_amt = random.randint(1, 99)
        print('\nHow much change is needed to equal .{0} cents?\n'
              .format(str(currency_amt)))
        your_total_amt = get_input_values(currency_amt)

        if sum(your_total_amt) == 0:
            print('Thank you for playing.')
            sys.exit(0)
        else:
            if your_total_amt[0] > 1 or your_total_amt[0] == 0:
                quarter_spelling = 'quarters'
            else:
                quarter_spelling = 'quarter'

            if your_total_amt[1] > 1 or your_total_amt[1] == 0:
                dime_spelling = 'dimes'
            else:
                dime_spelling = 'dime'

            if your_total_amt[2] > 1 or your_total_amt[2] == 0:
                nickel_spelling = 'nickels'
            else:
                nickel_spelling = 'nickel'

            if your_total_amt[3] > 1 or your_total_amt[3] == 0:
                penny_spelling = 'pennies'
            else:
                penny_spelling = 'penny'

            print('\nCorrect! You entered {0:d} {1}, {2:d} {3},'
                  ' {4:d} {5} and {6:d} {7}.'.format(your_total_amt[0],
                                                     quarter_spelling,
                                                     your_total_amt[1],
                                                     dime_spelling,
                                                     your_total_amt[2],
                                                     nickel_spelling,
                                                     your_total_amt[3],
                                                     penny_spelling))
            print('Which equals .{0} cents. Nice job!'
                  .format(str(currency_amt)))
            
            response = input('\nWould you like to try again? ')
            if response.lower() != 'y':
                print('Thanks for playing.')
                sys.exit(0)
            self.start()
Randomly display an amount of change and ask how many of each coin
        type are needed to equal the amount displayed.
        
recipes/Python/578988_Money_Game/recipe-578988.py