Dmitriy Malayev
06/25/2023, 11:49 PMval moreColors = arrayListOf("blue, red, yellow, pink, teal, red")
// Create a new array list to store the colors without "red"
val newColors = moreColors.filter { it != "red" }
// Print the newColors array list
println(newColors)
kqr
06/26/2023, 6:37 AMarrayListOf("blue", "red", "yellow", "pink", "teal", "red")
?Big Chungus
06/26/2023, 8:50 AMDmitriy Malayev
06/29/2023, 3:07 PM