jmpark0118 / CODING_TEST_PRACTICE

0 stars 0 forks source link

Practice>Python>Numpy>Arrays #104

Open jmpark0118 opened 3 years ago

jmpark0118 commented 3 years ago

image image

출처 : https://www.hackerrank.com/challenges/np-arrays/problem

jmpark0118 commented 3 years ago

import numpy

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

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