• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu
0

how to get a random num in Swift

i need to know how to generate a random number in Swift. could someone please help

swift
5th Aug 2020, 6:08 PM
CodyBoy
1 Antwoord
+ 2
Use the random() function for that https://code.sololearn.com/coYwq0hLD71h/?ref=app
6th Aug 2020, 12:25 AM
Arsenic
Arsenic - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 Votes
How do I keep myself motivated in coding
0 Votes
Bro can you fix yt error?
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Need suggestions to learn AI and ML
1 Votes
Bug in Completing AI Practice
0 Votes
Duration of heart refilling
0 Votes