/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
- -2 votes337 views2 answers
- 0 vote337 views1 answer
- -1 vote343 views1 answer
- 0 vote347 views1 answer
- 0 vote332 views1 answer
- -1 vote304 views1 answer
- 0 vote321 views1 answer
- 0 vote325 views1 answer
- 0 vote381 views1 answer
- 1 vote321 views1 answer