5. 编写函数isprime( ),用来判断一个整数a是否为素数。再编写程序,调用该函数,打印出100~300之间所有的素数,要求一行打印10个。 def isprime(a): for i in range(2,a+1): if a%i==0: