Python is a general purpose, high level programming language with increasing audience and most popular in the field of Data Science due to its packages available for Machine Learning and Deep Learning, however Python has some packages that are very useful in the field of web development. Flask is one…