def preview(num):
    """Prints the text of a problem."""
    # Define problem_text before echoing in case problem does not exist
    problem_text = Problem(num).text
    click.secho("Project Euler Problem %i" % num, bold=True)
    click.echo(problem_text)
def preview ( num ) : problem_text = Problem ( num ) . text click . secho ( "Project Euler Problem %i" % num , bold = True ) click . echo ( problem_text )
Prints the text of a problem.