8000 GitHub - MrNeocore/Change_making
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MrNeocore/Change_making

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Change_making

Tested using Python 3.6.3

Simply run as :

  python3 test_rendu_simple.py
  python3 rendy_simple.py

Alternatively :

  import rendu_simple
  change = rendu_simple.optimalChange(123)
  print(change)

Note : You may be wondering why 'simple', well, a more complex version was also made, working for arbitrary denomination lists, floating point values and has dynamic attribute access (i.e. coin2 still works, despite not being hardcoded). It was not uploaded due to 'high' complexity compared to what was asked - and did not yet received the lastest modifications (mostly cosmetic).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0