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