mycython working for multiple input training sequences