Skip to content

Instantly share code, notes, and snippets.

@nic0-lab
Last active June 23, 2018 15:50
Show Gist options
  • Save nic0-lab/952cb2753c6b4646061327c49ec8848b to your computer and use it in GitHub Desktop.
Save nic0-lab/952cb2753c6b4646061327c49ec8848b to your computer and use it in GitHub Desktop.
sentence = 'The quick brown fox jumps over the lazy dog.'
characters = {}
for character in sentence:
characters[character] = characters.get(character, 0) + 1
#-----------------------------------------------------------
# Afficher les variables d'environnement
import os
for a in os.environ:
print('Var: ', a, 'Value: ', os.getenv(a))
print("all done")
#-----------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment