函数描述:The function scramble takes a non-empty tup in which no number is greater than its own index, and returns a tup of the same lenght. Each number is the argument is treated as a backward index from its own position to a point earlier in the tup. The result at each position is found by counting backward from the current position according to this index.What's the value of (scramble tup) where tup is (1 1 1 3 4 2 1 1 9 2)Answer: (1 1 1 1 1 4 1 1 1 9)
- 1 回答
- 0 关注
- 749 浏览
添加回答
举报
0/150
提交
取消