fork download
  1. import numpy
  2.  
  3. numpy.array(1, dtype=numpy.uint64) << 1
Runtime error #stdin #stdout #stderr 0.12s 25336KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 3, in <module>
TypeError: ufunc 'left_shift' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''