Anonymous user
24 game/Solve: Difference between revisions
→{{header|Python}}: Now works with both Python 2.6. and 3.X (tested)
(New task and Python solution.) |
(→{{header|Python}}: Now works with both Python 2.6. and 3.X (tested)) |
||
Line 27:
from __future__ import division, print_function
from itertools import permutations, combinations, product
chain
from pprint import pprint as pp
Line 33:
import sys
if sys.version_info[0] < 3: input = raw_input▼
input = raw_input
from itertools import izip_longest as zip_longest
def choose4():
|