<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_zip_from_file(zip_file, fname):
 """ add a file to the archive """

    with zipfile.ZipFile(zip_file, 'w') as myzip:
        myzip.write(fname)