TroglodyteDerivations commited on
Commit
5fb72ba
1 Parent(s): b7cc2fd

Added a second element in lines 9 & 10

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ from io import BytesIO
6
 
7
  class Vector_Addition:
8
  def __init__(self, v1, v2):
9
- self.v1 = np.array([v1, 0])
10
- self.v2 = np.array([v2, 0])
11
 
12
  def problem_add(self):
13
  problem_add_prompt = print(f'What does vector 1: {self.v1} + vector 2: {self.v2} equal?')
 
6
 
7
  class Vector_Addition:
8
  def __init__(self, v1, v2):
9
+ self.v1 = np.array([v1, 1])
10
+ self.v2 = np.array([v2, 3])
11
 
12
  def problem_add(self):
13
  problem_add_prompt = print(f'What does vector 1: {self.v1} + vector 2: {self.v2} equal?')