結果 : print prime numbers from 1 to n in python using function