Python Assign Method To Variable Definition