# This is the template file for Lab #4, Task #1 import numpy import lab4 # adler_checksum -- compute Adler32 checksum # arguments: # bits -- numpy array of bits # return value: # integer result def adler_checksum(bits): pass # your code here if __name__ == '__main__': if lab4.verify_checksum(adler_checksum): print "Task 1 succeeded on the test cases: congratulations!" # When ready for checkoff, enable the following line. lab4.checkoff(adler_checksum,task='L4_1')