[Tutor] small graphics question

nathan tech nathan-tech at hotmail.com
Tue Feb 9 17:36:36 EST 2021


Hi Folks,


I was originally going to ask this over on the wx python mailing list, 
but I found myself hesitating.

I am pondering a simple question:

How do I write x to the power of y, in python/

Not 5^2 for 5 squared, but 5 superscript 2? or 5 superscript x where x 
is any number?

Similarly, how do I produce fractions??

I asked here in the end because I figure for wx python it is just 
tracking down that character sequence and then writing it on screen 
(which I can do!)

Thanks in advance,

Nathan



More information about the Tutor mailing list