Quite new in Python. I am trying to create an interface with different radiobuttons. Each radiobutton gets a dataset. Two buttons that when are clicked recall two different functions: find matches and mismatches between the datasets selected by the radiobuttons. the result is printed in a widget. I really cannot get to work the functions of matching and mismatching. Can I have help to know how to proceed please? Best,
**from tkinter import *
from tkinter import messagebox
root = Tk()
root.geometry('400x400')
root.title("matches and mismatches")
def matches():
messagebox.showinfo("function of finding matches")
def mismatches():
messagebox.showinfo("function of finding mismatches")
Datasetone = ["Michel", "John", "Carol", "Bob", "Justine", 'Harry',]
Datasettwo = ["Justine", "John", "Carol", "Bob", "Josh", "Marcello"]
Radiobutton(root, text='Dataset one').pack()
Radiobutton(root, text='Dataset two').pack()
Matches = Button(root, text='Matches', command=matches).pack()
Mismatches = Button(root, text='Mismatches', command=mismatches).pack()
root.mainloop()**