All classes have a default constructor. If it's not present, then it's implicit.
The call to super is also implicit if it's not present. The benifit of calling super is good design practice. Each constructor calls it's super class until it reaches the top of the heiarchy(most likey Object class).
Calling super() yourself just means that the JVM won't have to worry about doing all that themeselves.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: