You are viewing a single comment's thread. Return to all comments →
def howManyGames(p, d, m, s): total=0 count=0 while True: if(total+p>s): return count else: total+=p count+=1 if(p-d<m): p=m else: p-=d
Seems like cookies are disabled on this browser, please enable them to open this website
Halloween Sale
You are viewing a single comment's thread. Return to all comments →