def prime(a)
a=[2]
b=2
while(b<c)
if(c%b ==0)
a.append(c)
b=b+1
break


소수판별 함수를 만드는데

100까지면

prime(a)=[2,3,5,~~~]이렇게 출력하려고하는데

위의 함수설정이틀린건가요?