/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 vote95 views1 answer
- 0 vote100 views1 answer
- 8 votes84 views3 answers
- 4 votes100 views1 answer
- 0 vote98 views1 answer
- 0 vote80 views1 answer
- 89 votes80 views6 answers
- 0 vote88 views1 answer
- 0 vote91 views1 answer
- 14 votes82 views3 answers