Jun-15-2017, 06:42 PM
(Jun-15-2017, 10:19 AM)buran Wrote: first of all, the way you have args in your code, it will expect single object - list, tuple, etc., i.e. some data structure.
If I understand you correctly, you want to loop over all elements in args:
# python3 code for arg in args: if arg/10 > 40: print('bigger') else: print('smaller')
Thanks.You divide all args to 10.If i use each arg in different process,what can ido?e.g my args are :x y and z.i will divide x to 10 but divide y to 20...