hellocode123
New Coder
I have this code:
I just want to retrieve the inside string of 2000-05-23. But when I print(object["date"][0]) it prints the first character "[". How do I get it to just retrieve the date?
Code:
object = {
"date": "['2000-05-23']"
}
I just want to retrieve the inside string of 2000-05-23. But when I print(object["date"][0]) it prints the first character "[". How do I get it to just retrieve the date?