0 1 raised ValueError() ret was: None TypeError