<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def prompt(text='', title='' , default='', root=None, timeout=None):
 """Displays a message box with text input, and OK & Cancel buttons. Returns the text entered, or None if Cancel was clicked."""

    assert TKINTER_IMPORT_SUCCEEDED, 'Tkinter is required for pymsgbox'
    return __fillablebox(text, title, default=default, mask=None,root=root, timeout=timeout)