old_contents: import platform
  print('Python: ' + platform.python_version())
  assert platform.python_version()[0] == '2'
  
  import numpy as np
  print('numpy: ' + np.__version__)
  
  import pandas as pd
  print('pandas: ' + pd.__version__)
  
  import scipy
  print('scipy: ' + scipy.__version__)
  
  import sklearn
  print('scikit-learn: ' + sklearn.__version__)
  
  import matplotlib as plt
  print('matplotlib: ' + plt.__version__)
  
  import flask
  print('flask: ' + flask.__version__)
  
  import jupyter
  print('jupyter: ' + jupyter.__version__)
  
  print('\nCONGRATULATIONS! If you can see this, things should be fine..')
  print('\nGood luck on the workshop :)')
  
new_contents: import platform
  print('Python: ' + platform.python_version())
  
  import numpy as np
  print('numpy: ' + np.__version__)
  
  import pandas as pd
  print('pandas: ' + pd.__version__)
  
  import scipy
  print('scipy: ' + scipy.__version__)
  
  import sklearn
  print('scikit-learn: ' + sklearn.__version__)
  
  import matplotlib as plt
  print('matplotlib: ' + plt.__version__)
  
  import flask
  print('flask: ' + flask.__version__)
  
  import jupyter
  print('jupyter: ' + jupyter.__version__)
  
  print('\nCONGRATULATIONS! If you can see this, things should be fine..')
  print('\nGood luck on the workshop :)')
  
subject: Update check.py: code is compatible with both python 2 and 3