/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
- 7 votes299 views2 answers
- 1 vote307 views1 answer
- 1 vote284 views1 answer
- 0 vote299 views1 answer
- 4 votes317 views3 answers
- 46 votes318 views4 answers
- 41 votes367 views6 answers
- 0 vote331 views1 answer
- 0 vote309 views1 answer
- 0 vote298 views1 answer