experiENS/avisstage/utils.py
2017-04-04 00:28:25 +02:00

4 lines
122 B
Python

# coding: utf-8
def choices_length (choices):
return reduce (lambda m, choice: max (m, len (choice[0])), choices, 0)