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

+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

4/30/2020 9:21:29 AM

Ārtēmī§

4 Answers

New Answer

+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

+6

Ārtēmī§ you're welcome

+1

Never think you're dumb

0

🦄Uni🦄 Thanks Man