title: Python Dictionary DataStructure which method d[] or d.get()?
body: <p>While Using Python Dictionary DataStructure (which contains key-value pair) if i want to retrieve some value from my Dictionary i have two options <b>d[''] and g.get('key')</b> so i am confused now which is better and Why ?? I understand both some way but when it comes to memory consumption and evaluation in memory which  one is better ??</p>
  
  <p>Hoping for some Positive reply,</p>
  
  <p>Regards.</p>