/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
- 1 vote132 views1 answer
- 7 votes117 views2 answers
- 0 vote118 views1 answer
- 1 vote144 views1 answer
- 3 votes140 views2 answers
- 0 vote139 views1 answer
- 0 vote146 views1 answer
- 26 votes127 views1 answer
- -3 votes133 views1 answer
- 3 votes127 views1 answer