# coding: utf-8 # Getting help: # # 1) Use TAB in IPython # In[1]: a = [1,2,3] # In[1]: # 2) Using `pydoc3` on the command line. # 3) Online at # ---- # **A few things to look up in a quiet moment** # String formatting # In[2]: "My name is {0} and I like {1}".format("Andreas", "hiking") # --- # Dictionaries # In[3]: prices = {"Tesla K40": 5000, "GTX Titan":1400} prices["Tesla K40"]