Help write in python?



The author posted a question in Programming

Help write in python? and got a better answer

Response from

Response from 0[+++++]
INPUT= [1,2,4,-1] RESULT= INPUT[:1] + [sum INPUT , sum x for x in INPUT if x > 0 ] + INPUT[1:]

 

To answer the question:

Name*

E-mail:*

Reply text:*
Verification code (enter 22):*