-2

I have a sample dict obj I need to convert : to =. For example:

temp = {"name" : "user1", "age" : "20"}

to:

{"name" = "user1", "age" = "20"}

This will be the params to a function. The keys and values are dynamically generated which are not known at the beginning.

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Arijit Ghosh
  • 126
  • 1
  • 11

1 Answers1

-2

Solution Function name (**temp) works.

Arijit Ghosh
  • 126
  • 1
  • 11