human
Given a number n , count all multiples of 3 and / or 5 in set { 1 , 2 , 3 , ... n } | python program to find count of multiples of 3 and 5 in { 1 , 2 , 3 , . . n }.
Add multiples of 3 and 5. Since common multiples are counted twice in n / 3 + n / 15 , subtract common multiples.
Driver program to test above function"
How can the above be solved in Python?

=====
Write me a code to given a number n , count all multiples of 3 and / or 5 in set { 1 , 2 , 3 ,?
assistant
#Here is code to given a number n , count all multiples of 3 and / or 5 in set { 1 , 2 , 3 , .
 def countOfMultiples ( n ) :
	return ( int ( n / 3 ) + int ( n / 5 ) - int ( n / 15 ) ) ;
print ( countOfMultiples ( 6 ) )
print ( countOfMultiples ( 16 ) )