Skip to content

Commit c2e991a

Browse files
safwansamsudeenBethanyG
authored andcommitted
remove duplicate line
1 parent 89738ce commit c2e991a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

exercises/practice/yacht/.approaches/introduction.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Adhering to the principles of DRY is important - don't repeat yourself if you ca
1212
Each bit of functionality for each category can be encoded in a function, and the constant name set to that function.
1313
This can be done by assigning the constant name to a `lambda` or creating a one-line function using the constant as a function name.
1414
```python
15-
```python
1615
def digits(num):
1716
return lambda dice: dice.count(num) * num
1817
YACHT = lambda dice: 50 if dice.count(dice[0]) == len(dice) else 0

0 commit comments

Comments
 (0)