import sys args = sys.argv argc = len(args); for index, argment in enumerate(args): if index == 0: continue print('input%02d : ' % (index) + argment)