Untitled
unknown
python
a year ago
155 B
12
Indexable
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
Editor is loading...
Leave a Comment
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