I need to figure out how to get the maths section of code to appear on the tkinter window, How would I do this? thanks for the help
from tkinter import *
def Maths():
kph = 0
for x in range(12):
kph = kph + 10
mph = kph * 0.6214
print(kph," ",mph)
def main():
app = Tk()
app.title("kph to mph")
app.geometry('300x450')
Label(app, text="KPH to MPH converter").pack()
Label(app, text="-----------------------------").pack()
Label(app, text="KPH MPH").pack()
Label(app, text="-----------------------------").pack()
b1 = Button(app, text="Convert", command=Maths)
b1.pack(side='bottom')
app.mainloop()
main()