+ 1

Extra-Terrestrials Swift

I'm very dumb in Swift and I'm trying to solve Extra-Terrestrials challenge with it. var a = readLine() var i = a.count - 1 repeat { i -= 1 print(a[i+1]) } while i >= 0 How do I do this uhhh

30th Apr 2020, 9:21 AM
Ārtēmī§
Ārtēmī§ - avatar
4 odpowiedzi
+ 5
Ok so I took your code and make it work... I really think Swift is confusing so don't worry if you find it hard, me too... https://code.sololearn.com/cyr2L9F9k5qH/?ref=app
30th Apr 2020, 11:15 AM
Uni
Uni - avatar
+ 6
Ārtēmī§ you're welcome
30th Apr 2020, 11:22 AM
Uni
Uni - avatar
+ 1
Never think you're dumb
23rd Dec 2020, 1:00 PM
Sonic
Sonic - avatar
0
🦄Uni🦄 Thanks Man
30th Apr 2020, 11:21 AM
Ārtēmī§
Ārtēmī§ - avatar