mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
8 lines
198 B
Python
8 lines
198 B
Python
from .__init__ import *
|
|
|
|
|
|
def euclidianNormFunc(v1: list):
|
|
problem = f"Euclidian norm or L2 norm of the vector{v1} is:"
|
|
solution = sqrt(sum([i**2 for i in v1]))
|
|
return problem, solution
|