Python Code For Prime Number Series