/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
- 3 votes136 views1 answer
- 0 vote174 views1 answer
- 0 vote196 views2 answers
- 0 vote179 views1 answer
- 0 vote143 views1 answer
- 0 vote192 views1 answer
- 11 votes196 views6 answers
- 0 vote167 views1 answer
- 2 votes177 views1 answer
- 0 vote190 views1 answer