+ 1

Arrays

var a = “iPhone SE” var b = “iPhone 11” var c = “iPhone 11 pro” let myArray = [“iPhone SE”, “iPhone 11”, “iPhone 11 pro”] vat myArray: [String] = [“iPhone SE”, “iPhone 11”, “iPhone 11 pro”] Print(myArray[0]) // “iPhone SE”

31st May 2020, 3:07 AM
Charlithia Palmer
Charlithia Palmer - avatar
3 Answers
+ 10
Codes seems to perfect
1st Jun 2020, 11:55 AM
Coder
Coder - avatar
+ 5
Hello! Is there a problem with this code?
31st May 2020, 3:11 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
I was wondering how many different type of arrays there is in swift.
31st May 2020, 4:19 AM
Charlithia Palmer
Charlithia Palmer - avatar