/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 vote169 views1 answer
- 0 vote203 views1 answer
- 2 votes162 views1 answer
- 0 vote159 views1 answer
- 0 vote202 views1 answer
- 0 vote177 views2 answers
- 0 vote118 views1 answer
- -2 votes170 views1 answer
- 0 vote149 views1 answer
- 18 votes178 views2 answers