Code For Line Graph In Python