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 :)')

@@ -58,51 +58,8 @@
 n())
-%0Aassert platform.python_version()%5B0%5D == '2'
 %0A%0Aim

Update check.py: code is compatible with both python 2 and 3