07-07-2026, 05:15 PM
My experience with Python is that it does multidimensional arrays weird and the whole line spacing thing is obnoxious for somebody like me who typically uses arbitrary spacing. I got a book and messed with it for a few weeks and it is pretty easy, at least for the intro level shit I was doing.
edit:
m = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
edit:
import numpy
numpy.zeros((5, 5))
array([[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.]])
Here it is importing numPy which you basically have to do for anything remotely complicated. since this is how you do 2d maps and location pretty much in any language, multidimensional arrays is the first thing I look at when im looking at any new language.
edit:
m = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
edit:
import numpy
numpy.zeros((5, 5))
array([[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.],
[ 0., 0., 0., 0., 0.]])
Here it is importing numPy which you basically have to do for anything remotely complicated. since this is how you do 2d maps and location pretty much in any language, multidimensional arrays is the first thing I look at when im looking at any new language.

