First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 11 years ago

jack77 gravatar image

Hello,

you should fix the code as suggested by John, and use

Arrangements(vals,2).list()

instead of

arrangements(vals,2)

but just for completeness, you can force Python to shut up with adding

import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)