Driver program to test above
bin = [ '1' , '0' , '1' , '0' , '0' , '0' ] NEW_LINE n = len ( bin ) NEW_LINE if ( isDivisibleBy20 ( bin , n - 1 ) ) : NEW_LINE INDENT print ( " Yes " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " No " ) NEW_LINE DEDENT