Skip to content
Snippets Groups Projects
Commit de40f526 authored by bg33novu's avatar bg33novu
Browse files

...

parent a5de11d5
No related branches found
No related tags found
No related merge requests found
......@@ -34,18 +34,26 @@ b
function temp(a)
a = [4,5,6]
end
function temp1(a)
a .= [4,5,6]
end
function temp2(a)
a[:] = [4,5,6]
end
triangle = [2, 3, 4]
temp(triangle)
triangle
triangle = [2, 3, 4]
temp1(triangle)
triangle
triangle = [2, 3, 4]
temp2(triangle)
triangle
function is_Right(lengths)
......@@ -141,7 +149,6 @@ println(triangle)
function recursive_factorial(n)
if n == 1
return(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment