結果 : different patterns in python