随机一个元素
val array = mutableListOf("a","b","c","d","e","f")
().take(1).forEach {
(TAG, "随机元素:$it " )
}
随机二个元素
val array = mutableListOf("a","b","c","d","e","f")
().take(2).forEach {
(TAG, "随机元素:$it " )
}
随机一个元素
val array = mutableListOf("a","b","c","d","e","f")
().take(1).forEach {
(TAG, "随机元素:$it " )
}
随机二个元素
val array = mutableListOf("a","b","c","d","e","f")
().take(2).forEach {
(TAG, "随机元素:$it " )
}