using asPython not toPython
generating strategy.weight.ChooseTheBest
strategy.MultiarmedBandit is generated