CS 61A hw04
passphrase = ‘*** PASSPHRASE HERE ***’ def midsem_survey(p): You do not need to understand this code. >>> midsem_survey(passphrase) ‘3d9f1125b109b311959d068240016badb874603eab75302a445e1a50’ import hashlib return hashlib.sha224(p.encode(‘utf-8’)).hexdigest() HW_SOURCE_FILE = __file__ def mobile(left, right): “””Construct a mobile from a left arm and a right arm.””” assert is_arm(left), “left must be a arm” assert is_arm(right), “right must be a arm” return […]