# User Info firstname = first_name_entry.get() lastname = last_name_entry.get() if firstname and lastname: title = title_combobox.get() age = age_spinbox.get ...
from tkinter import * #for scale use we need to import * #ask,show is like a keyword which should before the info,okcancel... words messagebox.showinfo(f"Information", "Name entered already")#it shows ...