‘prompt()’ is an interactive function that waits for user input to continue. It takes a single argument string to print a message, and then asks the user whether they want to continue or not. Prompts can be disabled by the user if they use a flag to disable them or set ‘CPT_PROMPT’ to 0.