python programming to print count of prime and composite numbers untill a n

python programming to print count of prime and composite numbers untill a number n