Code Breakdown #15 - Change-Making Problem - Python

Описание к видео Code Breakdown #15 - Change-Making Problem - Python

Here is my take on the classic 'greedy algorithm' to split an amount of money into denominations. I start with a number of cents and separate it into dictionary with keys for 'dollars' down to 'pennies' and values for the counts. Enjoy!
#coding #python #programming #algorithm #codingtutorial #tutorial #coder #learncoding #codingexercises #problemsolving #pythonprogramming #developer #codingassistance

Комментарии

Информация по комментариям в разработке