Jump to content

Help with a script to create every combination of 2 numbers


devWhiz

Recommended Posts

Honestly, for something like this I don't know how to go about creating this script..

 

So I want to create a script that will generate every combination of 2 numbers that range from 0-749, so 750x750 = 562500 possible combinations, so for example, 0/749, 43/87, 0/0, 1/1, 2/1, 1/2, 500/450, 405/673, etc..

 

How would I go about starting to write a script that can generate all of the possible combinations and and put them in an array or write them to a file?

 

Thanks for the help in advanced!

 

-CLUEL3SS

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.