結果 : strategy pattern example python