/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
- 4 votes107 views3 answers
- 6 votes133 views2 answers
- 35 votes131 views6 answers
- 1 vote98 views1 answer
- 11 votes105 views6 answers
- 3 votes102 views1 answer
- 1 vote103 views1 answer
- 0 vote115 views1 answer
- 1 vote96 views1 answer
- 0 vote107 views1 answer