can someone please tell me how to fix this python code
import pyautogui
import time
prompt = input("What do you want to write? ")
while True:
try:
seconds = int(input("How many seconds do you want to wait? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
clicks = int(input("How many times do you want to click? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
x = int(input("What is the x coordinate of the area? "))
y = int(input("What is the y coordinate of the area? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
width = int(input("What is the width of the area? "))
height = int(input("What is the height of the area? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
click_x = int(input("What is the x coordinate of the click area? "))
click_y = int(input("What is the y coordinate of the click area? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
click_width = int(input("What is the width of the click area? "))
click_height = int(input("What is the height of the click area? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
click_seconds = int(input("How many seconds do you want to wait between clicks? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
click_times = int(input("How many times do you want to click? "))
break
except ValueError:
print("Please enter a number")
while True:
try:
click_prompt =