/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
- 1 vote116 views1 answer
- 3 votes159 views2 answers
- 3 votes107 views1 answer
- 17 votes115 views4 answers
- 0 vote139 views1 answer
- 5 votes70 views1 answer
- 1 vote101 views1 answer
- 4 votes129 views6 answers
- 0 vote119 views1 answer
- 3 votes122 views2 answers