Complex Python Codes To Write