(self,x,w)
| 37 | |
| 38 | |
| 39 | def ifallout(self,x,w): |
| 40 | #predicts score if they will not last numofovers overs |
| 41 | #x is the score per ball |
| 42 | #w is number of balls to get them out |
| 43 | b = x * w |
| 44 | b = int(b) |
| 45 | return b |
| 46 | |
| 47 | |
| 48 | def willsurvive(self,w,y,numofovers, wold, yold): |