Guest User

Untitled

a guest
Apr 23rd, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. my_for_loop('a','b','c'):
  2. API_Call1(a)
  3. API_Call2(b,c)
  4.  
  5. for a,b,c in product(d['a'],d['b'],d['c']):
  6. API_Call1(a)
  7. API_Call2(b,c)
  8.  
  9. from itertools import product
  10. for a,b in product(list1,list2):
  11. API_Call(a,b)
  12.  
  13. for a,b in product(dictionary_of_lists['a'],dictionary_of_lists['b']):
  14. API_Call(a,b)
  15.  
  16. for c,b in product(dictionary_of_lists['c'],dictionary_of_lists['b']):
  17. API_Call(c,b)
  18.  
  19. for e,f,g,h in product(dictionary_of_lists['e'],dictionary_of_lists['f'],dictionary_of_lists['g'],dictionary_of_lists['h'],):
  20. API_Call1(e,f,g,h)
  21. API_Call2(e,h)
  22. ...
Add Comment
Please, Sign In to add comment