8 lines
175 B
Python
8 lines
175 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())
|