#!/bin/python3= def howManyGames(p, d, m, s): count=0 while s>=p and p>=m: #print("s="+str(s)) #print("p="+str(p)) #print("count="+str(count)) count+=1 s=s-p if p-d