McNuggets problem: Difference between revisions
→Python :: List monad: Dropped two unused imports
(→Python List monad version: Updated output) |
(→Python :: List monad: Dropped two unused imports) |
||
Line 837:
<lang python>'''mcNuggets list monad'''
from itertools import (chain
def main():
'''List monad equivalent of
def size(n):
|