-
Practice>Python>Numpy>Concatenatehackerrank.com 2019. 3. 28. 12:30728x90
Concatenate
Problem Link : https://www.hackerrank.com/challenges/np-concatenate/problem
Difficulty : Easy
Tip
- Create input for creating numpy array like below
- a1 = [input().split() for _ in range(N)]
- so far a1 is string, need to convert it to int
- arr1 = numpy.array(a1, int)
- Concatenate arr1 and arr2 :)
Solution
728x90'hackerrank.com' 카테고리의 다른 글
Practice>Python>Regex and Parsing>Group(), Groups() & Groupdict() (0) 2019.03.29 Practice>Python>Regex and Parsing>Re.split() (0) 2019.03.29 Practice>Python>Built-Ins>Any or All (0) 2019.03.27 Practice>Python>Numpy>Transpose and Flatten (0) 2019.03.26 Practice>Python>Numpy>Shape and Reshape (0) 2019.03.26