input: new components changes the components of the vector. replace the components with newer one.
(self, components)
| 53 | self.__components = components |
| 54 | |
| 55 | def set(self, components): |
| 56 | """ |
| 57 | input: new components |
| 58 | changes the components of the vector. |
| 59 | replace the components with newer one. |
| 60 | """ |
| 61 | if len(components) > 0: |
| 62 | self.__components = components |
| 63 | else: |
| 64 | raise Exception("please give any vector") |
| 65 | |
| 66 | def __str__(self): |
| 67 | """ |
no outgoing calls
no test coverage detected