>>nope.can you help me solve my problem??please...
>>hey there FirstPerson.I m new with c++ so i think i m zero with it.can you help me
>>with my problem??
>>As you know firstPerson i m new with c++.I m think i m a litle bit blur what just you
>>tech me..Sorry.Could you solve my c++ question entirely??with example also??
All these statements of yours shows that the only thing you are interested is in getting the pre-cooked solution and run with your feet off.
Showing yourself a big looser ( ``I don't know C++ thus help me" ) doesn't help you. It would have been so much better if you would have read your textbook and at least given a try to the problem.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: