<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def CreateMuskingumKFile(lambda_k, in_kfac_file, out_k_file):
 """ Creates muskingum k file from kfac file. Parameters lambda_k: float The value for lambda given from RAPID after the calibration process. If no calibration has been performed, 0.35 is reasonable. in_kfac_file: str The path to the input kfac file. out_k_file: str The path to the output k file. Example:: from RAPIDpy.gis.muskingum import CreateMuskingumKFile CreateMuskingumKFile( lambda_k=0.35, in_kfac_file='/path/to/kfac.csv', out_k_file='/path/to/k.csv') """

    kfac_table = csv_to_list(in_kfac_file)

    with open_csv(out_k_file, 'w') as kfile:
        k_writer = csv_writer(kfile)
        for row in kfac_table:
            k_writer.writerow([lambda_k * float(row[0])])