+ 3
How to define and print superscript and subscript numbers in python?
Printing cm square , writing chemical formulas
4 Answers
+ 7
you can do this using unicode
https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
print('x\u00b2')#will give xÂČ
print('x\u00b3')#will give xÂł
print('x\u2080')# will give xâ
+ 1
Thank You
Rishi Anand
0
Please mark solve in question title , and mark best answer, thanks.