http://stackoverflow.i2p/questions/72491748/unexpected-typeerror-when-using-reduce-function
Answered Jun 3, 2022 at 15:27 by 0
Votes >> > reduce ( lambda a , b : a * b , [ 2 , 2 , 2 , 2 , 2 ] ) 32 So you can't make a list of it. Answered Jun 3, 2022 at 15:20 by Nikolaj Š. Show 2 comments 2 Well you can , but the way to do it is [32] , not list(32) . Commented Jun 3, 2022 at 15:21 by Samwise . 0 I wouldn't call it making a list from it, though, it's a list containing the value.