├── beginning └── new_python /beginning: -------------------------------------------------------------------------------- 1 | Uncheck all 2 | 3 | 4 | 5 | 6 | 7 | {columns.map(function(column) { 8 | return {column}; 9 | })} 10 | 11 | 12 | 13 | again and again and again 14 | -------------------------------------------------------------------------------- /new_python: -------------------------------------------------------------------------------- 1 | # Python Program to find the L.C.M. of two input number 2 | def compute_lcm(x, y): 3 | 4 | # choose the greater number 5 | if x > y: 6 | greater = x 7 | else: 8 | greater = y 9 | 10 | while(True): 11 | if((greater % x == 0) and (greater % y == 0)): 12 | lcm = greater 13 | break 14 | greater += 1 15 | 16 | return lcm 17 | 18 | num1 = 54 19 | num2 = 24 20 | 21 | print("The L.C.M. is", compute_lcm(num1, num2)) 22 | --------------------------------------------------------------------------------