So, I am making a text based world generator as a hobby project and I am trying to find a way to minimize the amount of variables I have. Here is a snippet of code below for an example.

```
import time, random
class WorldGen(object):
    def generate():
        wo1 = random.randint(1, len(WO))-1
        #This list of variables continues to wo38
        print WO[wo1], #So on and so forth to WO[wo38]
        time.sleep(0.5)
        generate()
start = WorldGen()
start.generate()

```

Essentially, the question I am asking here is: How can I make the list of the 38 variables shorter in any way, such as a loop or something like that? If I don't provide enough info, please specify what you might need to know more about. Here is an example of output below.

```
# o o o ~ *  * ~
* o # ~ ~ ~ ~ ~

```

This is not how the whole of the output would look, but here is the key for the text making up the world. (That's what I mean by text symbols) 

```
# = Tree
~ = Water
*  = Sand
o = Land

```

These text symbols representing parts of the word are put in a list like this.

```
WO = ["~", "*", "o", "#"]

```

Hope this is good enough explanation of text symbols.