/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 vote273 views1 answer
- 0 vote253 views1 answer
- 9 votes240 views4 answers
- 0 vote276 views1 answer
- 0 vote249 views1 answer
- 29 votes389 views5 answers
- 5 votes282 views3 answers
- 9 votes277 views9 answers
- 50 votes272 views6 answers
- 0 vote274 views1 answer