/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 vote328 views1 answer
- 29 votes325 views3 answers
- 32 votes349 views6 answers
- 0 vote323 views1 answer
- -1 vote345 views4 answers
- 0 vote308 views1 answer
- -3 votes343 views1 answer
- -1 vote297 views1 answer
- 0 vote301 views1 answer
- 5 votes317 views3 answers