Concatenate

  • + 0 comments

    Fast :

    import sys, numpy
    
    entry = sys.stdin.read().splitlines()[1:]
    array = numpy.array([[int(tandem[0]), int(tandem[2])] for tandem in entry])
    print(array)