/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
- 50 votes218 views1 answer
- 2 votes148 views1 answer
- 0 vote212 views1 answer
- 3 votes179 views2 answers
- 10 votes187 views3 answers
- 0 vote188 views1 answer
- 1 vote188 views5 answers
- 0 vote145 views2 answers
- 0 vote202 views1 answer
- 1 vote250 views1 answer