You are viewing a single comment's thread. Return to all comments →
BY GK import numpy def arrays(arr):
converType = numpy.array(arr,dtype="float") return numpy.flip(converType)
arr = input().strip().split(' ') result = arrays(arr) print(result) --------> flip is used to reverse the number
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays
You are viewing a single comment's thread. Return to all comments →
BY GK import numpy def arrays(arr):
arr = input().strip().split(' ') result = arrays(arr) print(result) --------> flip is used to reverse the number