Writing specific values from list

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Writing specific values from list



I come with a short question. I've wrote this part of code, where from an array of my data, values are saved when the condition below is fulfilled. Right now I'd like to narrow a little bit this condition and write a function, which will save only data above some value.
For e.g.
res >= 100.0.


res >= 100.0


res = [j for i, j, k in zip(lst, lst[1:], lst[2:]) if i < j and j > k]
with open("S:DocPythonDataCodesBxHPF.txt", 'w') as Peak1:
Peak1.write(str(res))
Peak1.close()









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

63BYe k,X5THY9FtvN8N5RMx5r,3lMmS,hD,sHKW16jWI3XDePoTK0jajuKcAygFFWuIT tutLU WOkyr6dSR84aC68ahuUS6
1VkoHzVXqCvioICfycqL4FN5,47I2a,x,SHcKJZ fb1JRLq9k3j4 r8N 3

Popular posts from this blog

Keycloak server returning user_not_found error when user is already imported with LDAP

PHP parse/syntax errors; and how to solve them?

415 Unsupported Media Type while sending json file over REST Template