Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
re dict comprehension solution in Creative category for YAML. Simple Dict by Luke747
def yaml(a):
import re
return {k: int(v) if v.isnumeric() else v for k, v in re.findall('(.*): (.*)', a)}
Aug. 3, 2021
Comments: