Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # b_dict2text_format.py
- zzz = {
- "aaa": "red",
- "bbb": "yellow",
- "ccc": "blue"
- }
- z = '{aaa} > {bbb} > {ccc} > {aaa}'.format_map(zzz)
- print(z)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement