Answer:
number1=int(input("Enter first smallest integer number: "))#take the first integer from the user.
number2=int(input("Enter the second greatest integer number: "))#Take th esecond integer from the user.
if(number1>number2):#if condition
print("The number is wrong, please try again")
else:
multiple_of_3=0 #take a variable to count the multiple of 3.
multiple_of_5=0 #take a variable to count the multiple of 5.
while(number1<=number2):#while loop.
if(number1%3==0):#if condition to count the multiple of 3.
multiple_of_3=multiple_of_3+1#operation to count the multiple of 3.
if(number1%5==0):#if condition to count the multiple of 3.
multiple_of_5=multiple_of_5+1#operation to count the multiple of 3.
number1=number1+1
print("There are "+str(multiple_of_3)+" number are multiple of 3 and "+str(multiple_of_5)+" are multiple of 5")#print the count.
Output:
Explanation: