This question already has an answer here:
- Sᴍᴀʟʟ Cᴀᴘꜱ Cᴏɴᴠᴇʀᴛᴇʀ 18 answers
Your program needs to take an input of a string, where the string has only letters, no special characters, no numbers, and no accents (they look all weird).
Then, your program should output a superscript version.
Input: hello world
Output: ʰᵉᶫᶫᵒ ʷᵒʳᶫᵈ
hello - ʰᵉᶫᶫᵒ code - ᶜᵒᵈᵉ golf - ᵍᵒᶫᶠ asdf - ᵃˢᵈᶠ qwerty - ᑫʷᵉʳᵗʸ abcdefghijklmnopqrstuvwxyz - ᵃᵇᶜᵈᵉᶠᵍʰᶦʲᵏᶫᵐᶰᵒᵖᑫʳˢᵗᵘᵛʷˣʸᶻ
If you need help understanding check out this website, it's a translator: http://txtn.us/tiny-text
This is a code golf, so the shortest code wins!
Edit #1: There will be no caps, since I just realized they look weird.