Shape and Reshape

  • + 0 comments

    import numpy user_input = input().split() user_input = numpy.array(user_input,dtype = 'int') print(numpy.reshape(user_input,(3,3)))

    Check this out :)