<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
Bitwise Operations on Digits of a Number
Python 3 implementation of the approach ; Function to find the digits ; Function to Find OR of all digits of a number ; Find OR of all digits ; return OR of digits ; Function to Find AND of all digits of a number ; Find AND of all digits ; return AND of digits ; Function to Find XOR of all digits of a number ; Find XOR of all digits ; return XOR of digits ; Driver code ; Find and store all digits ; Find XOR of digits ; Find OR of digits ; Find AND of digits ; Driver code

<ASSISTANT_TASK:>
Python Code:
digit =[0 ] *(100000 ) 
 def findDigits(n ) : 
	 count = 0 
 while(n != 0 ) : 
	 digit[count ] = n % 10 ; 
 n = n // 10 ; 
 count += 1 
  return count 
  def OR_of_Digits(n , count ) : 
	 ans = 0 
 for i in range(count ) : 
	 ans = ans | digit[i ] 
  return ans 
  def AND_of_Digits(n , count ) : 
	 ans = 0 
 for i in range(count ) : 
	 ans = ans & digit[i ] 
  return ans 
  def XOR_of_Digits(n , count ) : 
	 ans = 0 
 for i in range(count ) : 
	 ans = ans ^ digit[i ] 
  return ans 
  def bitwise_operation(N ) : 
	 countOfDigit = findDigits(N ) 
 print("XOR ▁ = ▁ ", XOR_of_Digits(N , countOfDigit ) ) 
 print("OR ▁ = ▁ ", OR_of_Digits(N , countOfDigit ) ) 
 print("AND ▁ = ▁ ", AND_of_Digits(N , countOfDigit ) ) 
  N = 123456 ; 
 bitwise_operation(N ) 

<END_TASK>
