3 ms·
It doesn't seem to work very well... Gpython 3.4.0 running in your browser with gopherjs >>> x=[1,2,3] >>> x [1, 2, 3] >>> [ v**2 for v in x ] [USE
by ObscureMind 8y ago
It doesn't seem to work very well...
Gpython 3.4.0 running in your browser with gopherjs
>>> x=[1,2,3]
>>> x
[1, 2, 3]
>>> [ v**2 for v in x ]
[USER]: runtime error: invalid memory address or nil pointer dereference
- Doxin 8y agoSeems like the operator is just broken in general: >>> 1**2 [USER]: runtime error: invalid memory address or nil pointer dereference where stuff like this does work: [ v*2 for v in x ]