new snippets
This commit is contained in:
@ -7,7 +7,6 @@ Use the `greatest common divisor (GCD)` formula and the fact that `lcm(x,y) = x
|
||||
Uses `reduce` function from the inbuilt module `functools`. Also defines a method `spread` for javascript like spreading of lists.
|
||||
|
||||
```python
|
||||
|
||||
from functools import reduce
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user