#!/bin/python import sys def howManyGames(p, d, m, s): # Return the number of games you can buy c = 0 while s>=p: c+=1 s-=p p-=d if p