Guest User

Untitled

a guest
Feb 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. asdf = {i[#], {-1, 1}} & /@ Range[2, 8]
  2. num = 0;
  3. Do[num++; Print[num];, ##] &[asdf]
  4.  
  5. Do[num++; Print[num];, Sequence@@asdf]
  6.  
  7. num = 0;
  8. With[{indxs = Sequence @@ ({i[#], -1, 1} & /@ Range[2, 8])},
  9. Do[num++; Print[num], indxs]]
Add Comment
Please, Sign In to add comment