Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Prodentim Probiotics Specially Designed For The Health Of Your Teeth And Gums

Instant Grammar Checker - Correct all grammar errors and enhance your writing

Teach Your Child To Read

Powerful WordPress hosting for WordPress professionals

Disclosure: My content contains affiliate links.

31,038 questions

40,790 answers

573 users

How to append rows to 2D array it in Swift

1 Answer

0 votes
let arr0 = ["swift", "c", "c++", "c#"]
let arr1 = ["php", "java", "python"]
let arr2 = ["ruby", "cobol"]

var arr = [arr0, arr1, arr2]

print(arr)




/*
run:

[["swift", "c", "c++", "c#"], ["php", "java", "python"], ["ruby", "cobol"]]

*/

 





answered Sep 19, 2020 by avibootz

Related questions

1 answer 76 views
2 answers 46 views
1 answer 38 views
38 views asked Jun 15, 2023 by avibootz
1 answer 70 views
1 answer 95 views
...