0

How to make a random (integer) number in Swift on SoloLearn?

I have tried "let randomNumber = Int.random(in: 0...10)" but an error returned. This trick does work on online.swiftplayground.run Please help me!

30th Mar 2019, 9:43 AM
Pela Lala
Pela Lala - avatar
1 ответ