1
0
Fork 0
mirror of https://gitlab.com/mfocko/CodeWars.git synced 2024-09-19 22:16:57 +02:00
CodeWars/8kyu/correct_mistakes_of_character_recognition/solution.py

3 lines
93 B
Python
Raw Normal View History

def correct(string):
return string.replace('5', 'S').replace('0', 'O').replace('1', 'I')