fork download
  1. #creating dictionary
  2. sey = 1
  3. ley = 2
  4.  
  5. dictionary1 = {sey:'teno', ley:'veno'}
  6. print dictionary1(sey)
Runtime error #stdin #stdout #stderr 0.01s 8968KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 6, in <module>
TypeError: 'dict' object is not callable