import numpy as np def main(): a = np.asarray([1,2,3]) a*=4 print(a) main()
Standard input is empty
[ 4 8 12]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!