Untitled

mail@pastecode.io avatar
unknown
python
2 months ago
155 B
5
Indexable
Never
from functools import reduce
def Bmm(a, b):
    while b:
        a, b = b, a % b
    return a
list1=[18,15,30,99,333]
bmm_asli=reduce(Bmm,list1)
bmm_asli

Leave a Comment