Piano Random Beeps Bug Hunt! Test your Troubleshooting.
This code will upload to Code Piano, but it won’t run as you expect it to. Can you find out what’s causing the problem?
This code will upload to Code Piano, but it won’t run as you expect it to. Can you find out what’s causing the problem?
The random function needs two pieces of information inside its parentheses: the minimum and maximum value it can choose from. If those two numbers were reversed, the random function wouldn't have a valid range to choose from. Check on the numbers inside the random argument- they're reversed.