import numpy as np
# #ZAD1
# a = np.array([3,4,3])
# b = np.array([2,5,6])
#
#
# print("A*B {} B*A {}".format(str(a*b),str(b*a)))

# # #ZAD2
# a=np.arange(9).reshape(3,3)
# b=np.arange(16).reshape(4,4)
#
# print(a.min(axis=1))
# print(b.min(axis=1))

# #ZAD3
# a = np.array([3,4,3])
# b = np.array([2,5,6])
#
#
# print("A*B {} B*A {}".format(str(a.dot(b)),str(b.dot(a))))

#zad4
# a = np.array([2,3,4])
# b = np.array([2.3,4.5,3.3])
#
# print("A*B {} B*A {}".format(str(a*b),str(b*a)))
# #zad5
# a = np.arange(6).reshape(3,2)
# a = np.sin(a)
# #zad6
# b = np.arange(6).reshape(3,2)
# b = np.cos(a)
#
# #zad7
# c=a+b
# print(c)

#zad8
# a = np.arange(9).reshape(3,3)
# for i in a:
#     print(i)
#zad9
# a = np.arange(9).reshape(3,3)
# for i in a.flat:
#     print(i)
#zad11
# a= np.arange(12)
# b= a.reshape(3,4)
# c= a.reshape(4,3)
# d= a.reshape(2,6)
# print(a)
# print(b)
# print(c)
# print(d)



222bd19640b11fbf87415330044a3686d9057420
<mask token>

import numpy as np

import numpy as np
# #ZAD1
# a = np.array([3,4,3])
# b = np.array([2,5,6])
#
#
# print("A*B {} B*A {}".format(str(a*b),str(b*a)))

# # #ZAD2
# a=np.arange(9).reshape(3,3)
# b=np.arange(16).reshape(4,4)
#
# print(a.min(axis=1))
# print(b.min(axis=1))

# #ZAD3
# a = np.array([3,4,3])
# b = np.array([2,5,6])
#
#
# print("A*B {} B*A {}".format(str(a.dot(b)),str(b.dot(a))))

#zad4
# a = np.array([2,3,4])
# b = np.array([2.3,4.5,3.3])
#
# print("A*B {} B*A {}".format(str(a*b),str(b*a)))
# #zad5
# a = np.arange(6).reshape(3,2)
# a = np.sin(a)
# #zad6
# b = np.arange(6).reshape(3,2)
# b = np.cos(a)
#
# #zad7
# c=a+b
# print(c)

#zad8
# a = np.arange(9).reshape(3,3)
# for i in a:
#     print(i)
#zad9
# a = np.arange(9).reshape(3,3)
# for i in a.flat:
#     print(i)
#zad11
# a= np.arange(12)
# b= a.reshape(3,4)
# c= a.reshape(4,3)
# d= a.reshape(2,6)
# print(a)
# print(b)
# print(c)
# print(d)


