Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print subscript and superscript python

# subscript
print(u'Hu2082SOu2084')  # H₂SO₄
  
# superscript
print("xu00b2 + yu00b2 = 2")  # x² + y² = 2
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #print #subscript #superscript #python
ADD COMMENT
Topic
Name
6+9 =