Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A[x_] := x+2
- B = A[x]+16
- For[i = 1, i < 3, i++, If[y < 5, Print[10], Print[66]]];
- C[y_] := For[i = 1, i < 3, i++, If[y < 5, Print[10], Print[66]]];
- D = C[y]+77
- f[a_, b_, x_] := If[x[[1]] == a && x[[2]] == b, x[[3]], Nothing];
- data = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
- f[4, 5, #] & /@ data
- f[3, 5, #] & /@ data
Add Comment
Please, Sign In to add comment