DOT'S ON DOMINO'S BONES - 7KYU

Subscribers:
4,890
Published on ● Video Link: https://www.youtube.com/watch?v=VAGHKEJKVJw



Duration: 4:08
20 views
1


The discretionary quantity of diamond stones that can be created for a particular set of dice should be returned by my function.

EXPLANATION CODE
1) This Python function calculates the number of dots on n dominoes and returns the result. It does this by iterating over all possible dominoes and summing up the number of dots on each one using a formula. If n is negative, it returns -1.

#codewars #code #wars #python #pythonprogramming #pythontutorial #dots #dominos #bones #piece #puzzle #education #tutorial #computerscience #puzzle #games #logic #mathematics #games #algorithms







Tags:
codewars
code
wars
tutorial
step by step
education
computer science
explanation
7kyu
transforming
chess
piece
puzzle
games
logic
python
python programming
python tutorial
dots
on
dominos
bones
codewars: dots on dominos bones
mathematics
algorithms