changing numbers to spellings

flyingisfun1217 at gmail.com flyingisfun1217 at gmail.com
Sun Oct 1 23:08:24 CEST 2006


I guess I'm just looking for a small code sample hooked up to the code
I gave, that would collect the input, compare it to code such as:

if x==5
     print "Five"
elif x==6
     print "Six"
elif x==7
     print "Seven"

Something along those lines. That was actually like the code I used for
something else a while ago.

My only problem is, I want it to be printed to a textvariable for use
in the label.

Thanks again for all your help!

Tanner




More information about the Python-list mailing list