Extra-Terrestrials Swift | Sololearn: Learn to code for FREE!


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

4/30/2020 9:21:29 AM


4 Answers

New Answer


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


Ārtēmī§ you're welcome


🦄Uni🦄 Thanks Man