terminal window to let the user know what' going on since the form has had time to loadcall pyautogui write(['\ ''\ ']to press tab twice and put the name field into focus then call write(again to enter the string in person['name' the '\tcharacter is added to the end of the string passed to write(to simulate pressing tabwhich moves the keyboard focus to the next fieldgreatest fear(sanother call to write(will type the string in person['fear'into this field and then tab to the next field in the form step handle select lists and radio buttons the drop-down menu for the "wizard powersquestion and the radio buttons for the robocop field are trickier to handle than the text fields to click these options with the mouseyou would have to figure out the xand -coordinates of each possible option it' easier to use the keyboard arrow keys to make selection instead add the following to your program#python formfiller py automatically fills in the form --snip-fill out the source of wizard powers field if person['source'='wand' pyautogui write(['down''\ ' elif person['source'='amulet'pyautogui write(['down''down''\ ' elif person['source'='crystal ball'pyautogui write(['down''down''down''\ ' elif person['source'='money'pyautogui write(['down''down''down''down''\ ' fill out the robocop field if person['robocop'= pyautogui write([''\ ' elif person['robocop'= pyautogui write(['right''\ ' elif person['robocop'= pyautogui write(['right''right''\ ' elif person['robocop'= pyautogui write(['right''right''right''\ ' elif person['robocop'= pyautogui write(['right''right''right''right''\ ' --snip-once the drop-down menu has focus (remember that you wrote code to simulate pressing tab after filling out the greatest fear(sfield)pressing the down arrow key will move to the next item in the selection list depending on the value in person['source']your program should send controlling the keyboard and mouse with gui automation