9 lines
180 B
Python
9 lines
180 B
Python
|
def zingonify(d):
|
||
|
"""
|
||
|
Zingonifies a string
|
||
|
:param d: input dict
|
||
|
:return: zingonified dict as str
|
||
|
"""
|
||
|
|
||
|
return "|".join(f"{k}:{v}" for k, v in d.items())
|