which language

I am wanting to write a program to show text or symbols on the screen to show information stored at a position in three dimensions. Such as the name of a planet at a certain point in time in it's orbit.

With quick basic I wrote a two dimensional pacman-like game, but I did not know how to program in the third dimension.

I have read books on C, and Python but have not found what I was looking for.