Untitled
Anonymous
python
02/20/2024 6:16 PM
208 B
20
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