/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 vote388 views1 answer
- 0 vote356 views1 answer
- 0 vote376 views1 answer
- 0 vote370 views1 answer
- 7 votes369 views2 answers
- 0 vote344 views1 answer
- 8 votes359 views3 answers
- 1 vote378 views1 answer
- 6 votes385 views5 answers
- 0 vote359 views1 answer