Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. DF=['Points':[1,2,....n]]
  2.  
  3. def resetsum():
  4. L=[]
  5. Points=0
  6. for i in range(len(DF)):
  7. Points += DF['Points'].iloc[i]
  8. if Points >= Goal:
  9. L.append(Df.iloc[i].index)
  10. Points = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement