Answer To: OOP Programming Computer Programming Dr Ian Drumm, U.O.S. Page 1 Guidance for getting started with...
Swapnil answered on Jan 23 2021
from tkinter import *
from tkinter import ttk
window = Tk()
window.title("Client Satisfaction")
window.geometry('600x600')
window.configure(background = "light green");
if __name__ == '__main__':
def __init__(self):
a = Label(window ,text = "Name").grid(row = 0,column = 0)
b = Label(window ,text = "Age").grid(row = 1,column = 0)
v = IntVar()
self.label = Radiobutton(window, text="16-18", variable=v, value=1, command = 16-18).grid(row=1)
self.label = Radiobutton(window, text="19-30", variable=v, value=2, command = 19-30).grid(row=2)
self.label = Radiobutton(window, text="31-40", variable=v, value=3, command = 31-40).grid(row=3)
self.label = Radiobutton(window, text="41-50", variable=v, value=4, command = 41-50).grid(row=4)
self.label = Radiobutton(window, text="51-64", variable=v, value=5, command = 51-64).grid(row=5)
self.label = Radiobutton(window, text="65", variable=v, value=6, command = 65).grid(row=6)
c = Label(window ,text = "Sex").grid(row = 2,column = 0)
v = IntVar()
self.label = Radiobutton(window, text="Male", variable=v, value=1, command = Male).grid(row=1)
self.label = Radiobutton(window, text="Female", variable=v, value=2, command = Female).grid(row=2)
d = Label(window ,text = "Ethinicity").grid(row = 3,column = 0)
v = IntVar()
self.label = Radiobutton(window, text="Black", variable=v, value=1, command = Black).grid(row=1)
self.label = Radiobutton(window, text="White", variable=v, value=2, command = White).grid(row=2)
self.label = Radiobutton(window,...