/Python/Def batting(balls,runs): points=runs/2; if runs>50: points=points+5; if runs>=100: points=points+10; strikerate=runs/balls; if strikerate>=80 and strikerate<=100: points=points+2; elif strikerate>100: points=points+4; print(points)
Def batting(balls,runs): points=runs/2; if runs>50: points=points+5; if runs>=100: points=points+10; strikerate=runs/balls; if strikerate>=80 and strikerate<=100: points=points+2; elif strikerate>100: points=points+4; print(points)
Def batting(balls,runs): points=runs/2; if runs>50: points=points+5; if runs>=100: points=points+10; strikerate=runs/balls; if strikerate>=80 and strikerate<=100: points=points+2; elif strikerate>100: points=points+4; print(points)
0
- 0 vote185 views1 answer
- 0 vote196 views1 answer
- 0 vote199 views1 answer
- 0 vote194 views1 answer
- 0 vote233 views1 answer
- 1 vote184 views1 answer
- 1 vote209 views1 answer
- 2 votes184 views1 answer
- 0 vote190 views1 answer
- 29 votes399 views1 answer