import vector

# 1
a = vector.Vector([-0.221, 7.437])
print("#1 magnitude: {}".format(a.magnitude()))

# 2
b = vector.Vector([8.813, -1.331, -6.247])
print("#2 magnitude: {}".format(b.magnitude()))

# 3
c = vector.Vector([5.581, -2.136])
print("#3 direction: {}".format(c.direction()))

# 4
d = vector.Vector([1.996, 3.108, -4.554])
print("#4 direction: {}".format(d.direction()))

import vector

# 1
a = vector.Vector([-0.221, 7.437])
print("#1 magnitude: {}".format(a.magnitude()))

# 2
b = vector.Vector([8.813, -1.331, -6.247])
print("#2 magnitude: {}".format(b.magnitude()))

# 3
c = vector.Vector([5.581, -2.136])
print("#3 direction: {}".format(c.direction()))

# 4
d = vector.Vector([1.996, 3.108, -4.554])
print("#4 direction: {}".format(d.direction()))

# 1 # 2 # 3 # 4