human
Check if a large number is divisible by 6 or not | Function to find that number is divisible by 6 or not.
Return false if number is not divisible by 2..
Compute sum of digits.
Check if sum of digits is divisible by 3.
Driver code"
How can the above be solved in Python?

Give me a code to check if a large number is divisible by 6 or not and the other steps required?
assistant
#Here is code to check if a large number is divisible by 6 or not and the other steps required.
 def check ( st ) :
	n = len ( st )
	if ( ( ( int ) ( st [ n - 1 ] ) % 2 ) != 0 ) :
		return False
	digitSum = 0
	for i in range ( 0 , n ) :
		digitSum = digitSum + ( int ) ( st [ i ] )
	return ( digitSum % 3 == 0 )
st = "1332"
if ( check ( st ) ) :
	print ( " Yes " )
else :
	print ( " No ▁ " )