fork(1) download
  1. def potprogram(*args):
  2. return [max(a) for a in zip(*args)]
  3.  
  4. n1 = [10, 20, 30, 40, 50]
  5. n2 = [9, 21, 29, 41, 51]
  6.  
  7. c = potprogram(n1, n2)
  8.  
  9. print(n1, n2, c, sep='\n')
Runtime error #stdin #stdout 0.08s 8832KB
stdin
Standard input is empty
stdout
Standard output is empty