// I'm A Noob but I hope this helps ~ any comments are welcome
You really need a new compiler. You're honestly not helping yourself by learning pre-standard C++ (And i'm afraid to say that pasting code like that won't help anyone else either. Even with the conio stuff removed, your code won't compile on some modern implementations).
If you want to stick with Borland, then AFAIK, they have a free version of their CPP-builder available. Otherwise, there are other free compilers available for windows - MS VC++ toolkit 2005, Quincy, MingW... and probably more that I can't think of right now. a google search will turn up a load of results.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: