Python Assign Method To Variable