题解 | #牛牛的二三七整除#
牛牛的二三七整除
https://www.nowcoder.com/practice/b2cf0b791245436f8f0591ae9f4c664f
n = int(input()) lst = [] for i in (2,3,7): if n % i == 0: lst.append(str(i)) print('n') if not lst else print(' '.join(lst))#python#
牛牛的二三七整除
https://www.nowcoder.com/practice/b2cf0b791245436f8f0591ae9f4c664f
n = int(input()) lst = [] for i in (2,3,7): if n % i == 0: lst.append(str(i)) print('n') if not lst else print(' '.join(lst))#python#
相关推荐