in the information for each person in this examplethere are only four people to enter but if you had , peoplethen writing program to do this would save you lot of time and typingdisplaying message boxes the programs you've been writing so far all tend to use plaintext output (with the print(functionand input (with the input(functionhoweverpyautogui programs will use your entire desktop as its playground the text-based window that your program runs inwhether it' mu or terminal windowwill probably be lost as your pyautogui program clicks and interacts with other windows this can make getting input and output from the user hard if the mu or terminal windows get hidden under other windows to solve thispyautogui offers pop-up message boxes to provide notifications to the user and receive input from them there are four message box functionspyautogui alert(textdisplays text and has single ok button pyautogui confirm(textdisplays text and has ok and cancel buttonsreturning either 'okor 'canceldepending on the button clicked displays text and has text field for the user to type inwhich it returns as string pyautogui password(textis the same as prompt()but displays asterisks so the user can enter sensitive information such as password pyautogui prompt(textthese functions also have an optional second parameter that accepts string value to use as the title in the title bar of the message box the functions won' return until the user has clicked button on themso they can also be used to introduce pauses into your pyautogui programs enter the following into the interactive shellimport pyautogui pyautogui alert('this is message ''important''okpyautogui confirm('do you want to continue?'click cancel 'cancelpyautogui prompt("what is your cat' name?"'zophiepyautogui password('what is the password?''hunter the pop-up message boxes that these lines produce look like figure - controlling the keyboard and mouse with gui automation