3 lines
85 B
Python
3 lines
85 B
Python
|
import re
|
||
|
street = '21 Ramkrishna Road'
|
||
|
print(re.sub('Road$', 'Rd.', street))
|