Arrays

  • + 0 comments

    import numpy def arrays(arr): numpy.array(arr,dtype=float) arr = arr[::-1] return arr

    arr = input().strip().split(' ') result = arrays(arr) print(result

    arr = input().strip().split(' ') Why there are codes in split()??