+ 1

The loop

if i create a group of loop and another group, Do i can add each element from the group 1 and the group 2 https://code.sololearn.com/c040qpTM2s1q/?ref=app

30th Oct 2018, 4:08 PM
Feres
Feres - avatar
1 Respuesta
+ 1
I don't speak Swift so well, but in general, you can store the two groups of numbers in two separate arrays, and then use another loop to add the elements of the arrays in corresponding positions. Have you studied arrays in the Swift tutorial yet?
31st Oct 2018, 4:40 AM
Kishalaya Saha
Kishalaya Saha - avatar