Free Python Code for Text Buttons!

This is free Python 3x code that shows how to make a button that displays text. Just copy and paste the following code into Python and run it:

from tkinter import *
def Call():
     lab= Label(root, text = 'You pressed\nthe button')
     lab.pack()
     button['bg'] = 'blue'
     button['fg'] = 'white'

root = Tk()
root.geometry('100x110+350+70')
button = Button(root, text = 'Press me', command = Call)
button.pack()

root.mainloop()