Answer:
Program :
number=int(input("Enter the number: "))#take the input from the user.
number1=number
count=0#take a variable for count.
while(number>0):#loop which check every number to be odd or not.
value=number%10 #it is used to take the every number from integer value.
number=int(number/10)#it is used to cut the number which is in the use.
if(value%2!=0):#It is used to check the number to be odd.
count=count+1#It is used to increase the value.
print("The number of Odd Digits in "+str(number1)+" is "+str(count))#It is used to print the count value of odd digit.
Output:
Explanation: