请问,整除那里怎么表示
收起
整除我们可以用取余符号%,判断余数是不是零
a = int(input()) if a % 3 == 0 and a % 7 == 0: print('Yes') else: print('No')
报告相同问题?