
import numpy as np

#########################################

# 1

# list1 = [[2,3,4]]
# list2 = [[6,8],[3,5],[2,4]]

# a = np.array(list1)
# b = np.array(list2)

# c = np.dot(a,b)

# print(c)

#########################################

# 2

# list1 = [[2,3,4]]
# list2 = [[6,8],[3,5],[2,4]]

# a = np.array(list1)
# b = np.array(list2)

# c = np.dot(b,a)

# print(c)

#########################################

# 3

list1 = [[2,3,4]]
list2 = [[7,8,9]]

a = np.array(list1)
b = np.array(list2).transpose()

c = np.dot(a, b)

print(c)

#########################################

# 4

# list1 = [[2,3,4]]
# list2 = [[7,8,9]]

# a = np.array(list1)
# b = np.array(list2).transpose()

# c = np.dot(b,a)

# print(c)

#########################################

# 5

# list1 = [[2,4],[3,1]]
# list2 = [[6,8],[3,5]]

# a = np.array(list1)
# b = np.array(list2)

# c = a + b

# print(c)

#########################################
