Guest User

Untitled

a guest
Aug 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. A[x_] := x+2
  2.  
  3. B = A[x]+16
  4.  
  5. For[i = 1, i < 3, i++, If[y < 5, Print[10], Print[66]]];
  6.  
  7. C[y_] := For[i = 1, i < 3, i++, If[y < 5, Print[10], Print[66]]];
  8.  
  9. D = C[y]+77
  10.  
  11. f[a_, b_, x_] := If[x[[1]] == a && x[[2]] == b, x[[3]], Nothing];
  12.  
  13. data = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
  14.  
  15. f[4, 5, #] & /@ data
  16. f[3, 5, #] & /@ data
Add Comment
Please, Sign In to add comment