Warning
This page is located in archive. Go to the latest version of this course pages.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
courses:be5b33prg:homeworks:vectorclass [2017/01/08 10:28]
svobodat created
courses:be5b33prg:homeworks:vectorclass [2017/01/11 22:29]
xposik
Line 1: Line 1:
 ====== Class Vector ====== ====== Class Vector ======
-This a non-graded homework which serves as a preparation for the 3rd mid-term programming test.+This a non-graded ​(actually 1 point as a symbolic reward) ​homework ​(50_vclass) ​which mainly ​serves as a preparation for the 3rd mid-term programming test.
  
 Create ''​vectorclass.py''​ module implementing a Vector class with the following methods: Create ''​vectorclass.py''​ module implementing a Vector class with the following methods:
Line 25: Line 25:
         >>>​ v2 = v.scaled_copy(3)         >>>​ v2 = v.scaled_copy(3)
         >>>​ v.x         >>>​ v.x
-        ​[1, 2, 3]+        ​(1, 2, 3)
         >>>​ v2.x         >>>​ v2.x
-        ​[3, 6, 9]+        ​(3, 6, 9)
         """​         """​
  
courses/be5b33prg/homeworks/vectorclass.txt · Last modified: 2017/01/11 22:29 by xposik