I want to change a,b,c to a,b=>c
but after finding the last comma index using rfind
, how should I replace the ,
with =>
?
Asked
Active
Viewed 53 times
1

Aran-Fey
- 39,665
- 11
- 104
- 149

william007
- 17,375
- 25
- 118
- 194
-
4Possible duplicate of [Right-to-left string replace in Python?](https://stackoverflow.com/questions/9943504/right-to-left-string-replace-in-python) – damores Mar 05 '18 at 11:24