<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fprint(expr, print_ascii=False):
 r"""This function chooses whether to use ascii characters to represent a symbolic expression in the notebook or to use sympy's pprint. cos(omega) """

    if print_ascii:
        pprint(expr, use_unicode=False, num_columns=120)
    else:
        return expr