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