huan chen
Posts: 1
Nickname: kick
Registered: Jul, 2006
|
|
Need help
|
Posted: Jul 15, 2006 2:33 PM
|
|
|
Advertisement
|
split([1,3,5,7,9,10]) splits into two strings with first half and second half, the function returns two lists, here it returns [1,3,5] and [7,9,10]
merge(m1,m2) takes two arguments and merge m1 and m2 into one list
however, k = merge(split([1,3,5,7,9,10]) should be working well, right?
But when i compile it, it said TypeError: merge() takes exactly 2 arguments (1 given)
How do I fix this. PS i need split function as merge argument
thx
|
|