+ 3
How to define and print superscript and subscript numbers in python?
Printing cm square , writing chemical formulas
4 Antworten
+ 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.