pottsy1000000
New Member
Hi everyone,
Can someone help me with a code question? I need to generate a random number between two fixed points. e.g. give me a number between 1 and 20. I've tried the Blockly 'set variable a to random', but it always seems to give me a 3 and I cant specify the min and max.
Any ideas please?
Can someone help me with a code question? I need to generate a random number between two fixed points. e.g. give me a number between 1 and 20. I've tried the Blockly 'set variable a to random', but it always seems to give me a 3 and I cant specify the min and max.
Any ideas please?