How do you use the Math.random method? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you use the Math.random method?

I don't know how to use it. Pls help.

9th Jul 2019, 11:53 PM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
3 Answers
0
you can use it like i did in this code: https://code.sololearn.com/Wzs4qGS917jK/?ref=app
10th Jul 2019, 12:04 AM
Pikachu
Pikachu - avatar
+ 1
Thanks!
10th Jul 2019, 11:19 PM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
+ 1
Yes, V ! R T L
11th Jul 2019, 1:52 AM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar