Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# list comprehension for pretty-printing, with number format
c = [print(k, ":", f'{v:.1f}') for k,v in acc_dict.items()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment