λ式 (ラムダ式)

import math

lcm = lambda x, y: int( x * y / math.gcd( x, y ) )

SoftEng: Python/Prog/Practice/Basic/02/BP_007a/AdvancedTopics (last edited 2018-10-28 15:52:18 by TadashiIijima)