Beta
Convert irregular characters
27aerowide
Description:
In this kata, your task is to replace all of the irregular characters with regular ones, following such example:
'ťēхţ' -> 'text'
'ĵõľĺÿ' -> 'jolly'
'sØMetНiпǦ' -> 'sOMetHinG'
All of the irregular characters in this kata are neatly compiled in the IRREGULAR
list:
IRREGULAR = [
'aàáâäæãɑå', 'AÀÁÂÄÆÅА', #A
'вбbβ', 'BВ', #B
'çĉċčćс', 'CÇĆČĈС', #C
'dðďд', 'DÐĎ', #D
'eèéêëėęēе', 'EÈÉÊËĘĖĒЕ', #E
'ʄϝᶂᶠ', 'F𝕱Ꞙ', #F
'gğĝġǧģ', 'GĞĜĠǦ', #G
'ĥнħĥ', 'HĦĤН', #H
'iìíīîïįıі', 'IÌÍÎÏĮİІ', #I
'jĵ', 'JĴJ̃', #J
'kķǩк', 'KĶǨК', #K
'llłĺľ', 'LŁĹĽ', #L
'мϻm', 'MМ', #M
'nñńņňnп', 'NÑŃŅŇ', #N
'oòóőоôõơoōöøœ', 'OÒÓÔÖØŒО', #O
'ppþр', 'PÞР', #P
'q𐞥q̃q̇', 'QꞯɊꟴ', #Q
'rřŗŕг', 'RŘŖŔ', #R
'sßśşšŝ', 'SŚŠŜ', #S
'tŧţťт', 'TŦŢŤТ', #T
'uùúûüųűů', 'UÙÚÛÜŲŰŮ', #U
'۷ࡐʋv̇ṽ', 'VV̇ṾṼꝞ', #V
'ԝաŵ', 'WŴ', #W
'хx', 'XХ', #X
'yÿýŷу', 'УYŸÝŶ', #Y
'zźžż', 'ZŹŽŻ', #Z
]
Strings
Algorithms
Similar Kata:
Stats:
Created | Nov 18, 2024 |
Published | Nov 18, 2024 |
Warriors Trained | 60 |
Total Skips | 9 |
Total Code Submissions | 117 |
Total Times Completed | 27 |
Python Completions | 27 |
Total Stars | 1 |
% of votes with a positive feedback rating | 72% of 16 |
Total "Very Satisfied" Votes | 9 |
Total "Somewhat Satisfied" Votes | 5 |
Total "Not Satisfied" Votes | 2 |
Total Rank Assessments | 16 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |