Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"""
simplify price with currency sign to number
"""
# sample
txt = "$5,200"
txt[1:].replace(',','')
# output
# 5200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment