Arrays | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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