+ 1

Extra-Terrestrial Challenge Swift

https://code.sololearn.com/cdcNRy953WX5/?ref=app Attached is my Swift code for the challenge. The code works but due to Swift lacking an input() function, the app cannot run the code according to its tests. Does anyone have a solution? (P.S. readLine() does not work) Thank you!

15th Jul 2021, 1:36 AM
Steven
3 Antworten
+ 3
Got it?
15th Jul 2021, 1:49 AM
Simba
Simba - avatar
+ 1
Simba I sure did, thank you!
15th Jul 2021, 1:51 AM
Steven
0
Simba are you a developer that uses swift?
21st Jul 2021, 10:22 PM
Steven