<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compile_column(name: str, data_type: str, nullable: bool) -> str: """Create column definition statement."""


    null_str = 'NULL' if nullable else 'NOT NULL'

    return '{name} {data_type} {null},'.format(name=name,
                                               data_type=data_type,
                                               null=null_str)