Generate a unique number given two other numbers between -10 and 10
Is this possible? I cannot seem to figure out an equation that doesn't have collisions.
6 Replies
for this case the easiest way is to create dictionary that stores existing values
or you want to make seed with 2 numbers?
I want to pass two numbers in and generate one single number
how do you want the single number to be generated using those two numbers ? Like what's the purpose of those two nums
blueberriesiftheywerecats
REPL Result: Success
Console Output
Compile: 482.749ms | Execution: 51.678ms | React with ❌ to remove this embed.
this seems to be working
(chatgpt)
wait what thats generated by chat gpt?
that works btw thank you