+ 6
Random number generator
Can somebody help me with random number generator programs algorithm?
12 Respostas
+ 15
Hi Aria please specify which language you would like to create this with
+ 7
You must indicate the probability's distribution of numbers that you want
+ 4
True.
+ 3
Hi bobbie C or Python3 pleaseđ
+ 3
You can use random module in python;
E.g :
import random
numb=random.randint(0, 100)
print(numb)
+ 3
And you can use a list ;
E.g;
import random
numb=[5, 8, 3]
rand_numb=random.choice(numb)
print(rand_numb)
#number can be 5 , 8 or 3
+ 3
Thank u Robin
yes I'm looking for algorithms đ
+ 3
You must indicate the probability's distribution of numbers that you want
+ 2
See My this Code Depend pn Random Numbers
>>>Luck Calculator<<<
https://code.sololearn.com/Wp1cOAxz3XyS/?ref=app
0
sory
0
ۧŰÙۧ