标签:put NPU == print bre class 个数 span pre
num = int(input(‘请输入一个数:‘)) if num == 1: print(‘不是质数‘) else: count = 2 while count<num -1: if num %count == 0: print(‘不是质数‘) break count +=1 else: print(‘是质数‘)
标签:put NPU == print bre class 个数 span pre
原文地址:https://www.cnblogs.com/lianghui-lianghui/p/9515109.html