code.py

this is the entire working code