Reputation: 399
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}')
Upvotes: 0
Views: 121
Reputation:
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.
Upvotes: 1