Can anyone help me to align the button to the bottom of the screen in Tkinter. I am following a youtube tutorial, and in their code they write what i have written, but it aligns the button to the bottom. I am Using python 3.7 on a mac
from tkinter import *
root = Tk() #makes a blank popup, under the variable name 'root'
topFrame = Frame(root)
topFrame.pack()
bottomFrame = Frame(root)
bottomFrame.pack(side=BOTTOM)
button1 = Button(topFrame, text='Button 1', fg='red')
button2 = Button(topFrame, text='Button 2', fg='blue')
button3 = Button(topFrame, text='Button 3', fg='green')
button4 = Button(topFrame, text='Button 4', fg='pink')
button1.pack(side=LEFT)
button2.pack(side=LEFT)
button3.pack(side=LEFT)
button4.pack(side=BOTTOM)
root.mainloop() #loops the program forever until its closed