0

The letter 'st' needs to be superscripted. Got unicodes that scripted number. Any help with strings? Without the use of extra modules.

name = ['Sanjay','sai','clarke','Bellamy']
for i, name in enumerate(name):
    print(f'{i}st place goes to {name}')
tripleee
  • 175,061
  • 34
  • 275
  • 318
Sanjay Kapilesh
  • 269
  • 1
  • 4
  • 16
  • 1
    Does this answer your question? [How do you print superscript in Python?](https://stackoverflow.com/questions/8651361/how-do-you-print-superscript-in-python) – rd10 May 03 '20 at 13:56

1 Answers1

1

Consoles don't support superscripts natively.

You can leave it like that, or use some special characters to show that (ˢᵗ), but those might not be supported in some fonts or terminals.