set virtual environment
python -m venv env source ./env/bin/activate pip install requirements.txt
File submission.py has answer from question 1 to 5, run it as below
python submission.py
Before run this, please change the last two line for particular question
for example
- res=q1()
print(res)
- res=q2()
print(res)
For question 6, run the command
python q6.py
open a browser, to see the output redirect to https://localhost:8080/metrics