Last active
May 27, 2020 00:10
-
-
Save ihzarizkyk/2bb09400d60832e31eac601546ef685d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
a = np.array([1,2,3]) | |
b = np.array([1,2,3]) | |
print(a) | |
print(b) | |
print(a+b) | |
print(a-b) | |
print(a*b) | |
''' | |
Output a : [1 2 3] | |
Output b : [1 2 3] | |
Output Penjumlahan : | |
[2 4 6] | |
Output Pengurangan : | |
[0 0 0] | |
Output Perkalian : | |
[1 4 9] | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment