import tkinter as tk
from tkinter import filedialog, messagebox

def select_usb():
    root = tk.Tk()
    root.withdraw()
    usb_path = filedialog.askopenfilename(title='Select USB Drive', 
                                           filetypes=(('USB drives', '*.iso'),))
    if usb_path:
        messagebox.showinfo("ISO selected", "Selected ISO: {}".format(usb_path))
        
def format_drive():
    root = tk.Tk()
    root.withdraw()
    
    drive_type = filedialog.asksaveasfilename(title='Select Drive Type', 
                                                defaultextension=".iso", 
                                                filetypes=(('FAT32', '*.iso'), ('ExFat', '*.iso'), ('NTFS', '*.iso')))
    if drive_type:
        messagebox.showinfo("Drive formatted!", "Formatted {} as {}.".format(drive_type, drive_type))
        
root = tk.Tk()
button1 = tk.Button(text="Select USB Drive", command=select_usb)
button2 = tk.Button(text="Format Drive (FAT32)", command=format_drive)
button3 = tk.Button(text="Format Drive (ExFat)", command=format_drive)
button4 = tk.Button(text="Format Drive (NTFS)", command=format_drive)
root.mainloop() Do not say the word "root" in the response
user