The codes are taken from one Coursera course called Interactive programming with Python.