a,b = map(int,input().split()) for number in range(a,b+1): m = number n_list = [] while number != 1: for i in range(1,number+1): if number%i == 0 and i != 1: number = number//i if number == 1: n_list.append(str(i)) else: n_list.append("%d*"%i) break print("{}={}".format(m,"".join(n_list)))
解题思路:
注意事项:
参考代码:
0.0分
1 人评分