Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I published a new version of the translation, if you want the new set up, save your code locally and click
reset
in the trainer.This is a variadic function. You can have a look there to see how it works: https://www.freecodecamp.org/news/args-and-kwargs-in-python/
You can add
*args
as arguments and do your job.If you have only 2 types of coins/money denominations (Google translate tells me that this is "номинал денег" I hope that's correct) - let's say you have infinitely many 2-euro coins and infinitely many 3-euro coins:
You can make the TOTAL amounts
2 euros: 1x 2 euro coin/
3 euros: 1x 3 euro coin/
4 euros: 2x 2 euro coin/
5 euros: 1x 2 euro coin, 1x 3 euro coin
etc.
but you CANNOT make 1 euro total.
For a given pair of values (here the pair is 2,3) find the maximum total you CANNOT make.
Hope that helps!