Environment data
VS Code version: 1.18.0
Python Extension version: 0.8.0
Python Version: 3.6.2 :: Continuum Analytics, Inc./ 2.7.13 :: Anaconda 4.4.0 (x86_64)
OS and version: OSX El Capitan 10.11.6
Actual behavior
Tries to execute a block and gives a syntax error

However, while executing those block as individual blocks. e.g. def separate and print separate it works fine.
Expected behavior
It should execute the whole selection without issues.
Steps to reproduce:
- Set Python as default interpreter
- Execute any of the sample blocks by "Run Selection/Line command"
Logs
Output from Python Terminal

