from tkinter import *
from functools import partial
import random


class Start:
    def __init__(self, parent):
        self.start_frame = Frame(padx=10, pady=10)
        self.start_frame.grid()

        self.how_many_questions = Label(self.start_frame, text="How Many Questions?")
        self.how_many_questions.grid(row=1)

        self.entry_frame = Frame(self.start_frame, width=200)
        self.entry_frame.grid(row=2)

        self.start_amount_entry = Entry(self.entry_frame,
                                        font="Arial  19 bold", width=15)
        self.start_amount_entry.grid(row=0, column=0)

        var = IntVar()

        self.choice = Radiobutton(self.entry_frame, font="Arial 10", width=5, text="Easy",
                                  variable=var, value=1)
        self.choice.grid(row=1, column=0)

        self.choice2 = Radiobutton(self.entry_frame, font="Arial 10", width=5, text="Medium",
                                   variable=var, value=2)
        self.choice2.grid(row=2, column=0)

        self.choice3 = Radiobutton(self.entry_frame, font="Arial 10", width=5, text="Hard",
                                   variable=var, value=3)
        self.choice3.grid(row=3, column=0)


# main routine
if __name__ == "__main__":
    root = Tk()
    root.title("Math Game")
    something = Start(root)
    root.mainloop()

dc83630bd9123dd69087637fa90b1cd3dd26f319
<mask token>


class Start:
    <mask token>


<mask token>

<mask token>


class Start:

    def __init__(self, parent):
        self.start_frame = Frame(padx=10, pady=10)
        self.start_frame.grid()
        self.how_many_questions = Label(self.start_frame, text=
            'How Many Questions?')
        self.how_many_questions.grid(row=1)
        self.entry_frame = Frame(self.start_frame, width=200)
        self.entry_frame.grid(row=2)
        self.start_amount_entry = Entry(self.entry_frame, font=
            'Arial  19 bold', width=15)
        self.start_amount_entry.grid(row=0, column=0)
        var = IntVar()
        self.choice = Radiobutton(self.entry_frame, font='Arial 10', width=
            5, text='Easy', variable=var, value=1)
        self.choice.grid(row=1, column=0)
        self.choice2 = Radiobutton(self.entry_frame, font='Arial 10', width
            =5, text='Medium', variable=var, value=2)
        self.choice2.grid(row=2, column=0)
        self.choice3 = Radiobutton(self.entry_frame, font='Arial 10', width
            =5, text='Hard', variable=var, value=3)
        self.choice3.grid(row=3, column=0)


<mask token>

<mask token>


class Start:

    def __init__(self, parent):
        self.start_frame = Frame(padx=10, pady=10)
        self.start_frame.grid()
        self.how_many_questions = Label(self.start_frame, text=
            'How Many Questions?')
        self.how_many_questions.grid(row=1)
        self.entry_frame = Frame(self.start_frame, width=200)
        self.entry_frame.grid(row=2)
        self.start_amount_entry = Entry(self.entry_frame, font=
            'Arial  19 bold', width=15)
        self.start_amount_entry.grid(row=0, column=0)
        var = IntVar()
        self.choice = Radiobutton(self.entry_frame, font='Arial 10', width=
            5, text='Easy', variable=var, value=1)
        self.choice.grid(row=1, column=0)
        self.choice2 = Radiobutton(self.entry_frame, font='Arial 10', width
            =5, text='Medium', variable=var, value=2)
        self.choice2.grid(row=2, column=0)
        self.choice3 = Radiobutton(self.entry_frame, font='Arial 10', width
            =5, text='Hard', variable=var, value=3)
        self.choice3.grid(row=3, column=0)


if __name__ == '__main__':
    root = Tk()
    root.title('Math Game')
    something = Start(root)
    root.mainloop()

from tkinter import *
from functools import partial
import random


class Start:

    def __init__(self, parent):
        self.start_frame = Frame(padx=10, pady=10)
        self.start_frame.grid()
        self.how_many_questions = Label(self.start_frame, text=
            'How Many Questions?')
        self.how_many_questions.grid(row=1)
        self.entry_frame = Frame(self.start_frame, width=200)
        self.entry_frame.grid(row=2)
        self.start_amount_entry = Entry(self.entry_frame, font=
            'Arial  19 bold', width=15)
        self.start_amount_entry.grid(row=0, column=0)
        var = IntVar()
        self.choice = Radiobutton(self.entry_frame, font='Arial 10', width=
            5, text='Easy', variable=var, value=1)
        self.choice.grid(row=1, column=0)
        self.choice2 = Radiobutton(self.entry_frame, font='Arial 10', width
            =5, text='Medium', variable=var, value=2)
        self.choice2.grid(row=2, column=0)
        self.choice3 = Radiobutton(self.entry_frame, font='Arial 10', width
            =5, text='Hard', variable=var, value=3)
        self.choice3.grid(row=3, column=0)


if __name__ == '__main__':
    root = Tk()
    root.title('Math Game')
    something = Start(root)
    root.mainloop()

from tkinter import *
from functools import partial
import random


class Start:
    def __init__(self, parent):
        self.start_frame = Frame(padx=10, pady=10)
        self.start_frame.grid()

        self.how_many_questions = Label(self.start_frame, text="How Many Questions?")
        self.how_many_questions.grid(row=1)

        self.entry_frame = Frame(self.start_frame, width=200)
        self.entry_frame.grid(row=2)

        self.start_amount_entry = Entry(self.entry_frame,
                                        font="Arial  19 bold", width=15)
        self.start_amount_entry.grid(row=0, column=0)

        var = IntVar()

        self.choice = Radiobutton(self.entry_frame, font="Arial 10", width=5, text="Easy",
                                  variable=var, value=1)
        self.choice.grid(row=1, column=0)

        self.choice2 = Radiobutton(self.entry_frame, font="Arial 10", width=5, text="Medium",
                                   variable=var, value=2)
        self.choice2.grid(row=2, column=0)

        self.choice3 = Radiobutton(self.entry_frame, font="Arial 10", width=5, text="Hard",
                                   variable=var, value=3)
        self.choice3.grid(row=3, column=0)


# main routine
if __name__ == "__main__":
    root = Tk()
    root.title("Math Game")
    something = Start(root)
    root.mainloop()
