Impression indice et exposant Python

# subscript
print(u'H\u2082SO\u2084')  # H₂SO₄
  
# superscript
print("x\u00b2 + y\u00b2 = 2")  # x² + y² = 2
Frightened Flatworm