/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
- 13 votes180 views3 answers
- 1 vote210 views1 answer
- 0 vote230 views1 answer
- 15 votes184 views3 answers
- 0 vote191 views1 answer
- 1 vote187 views2 answers
- 34 votes209 views6 answers
- 3 votes172 views1 answer
- 0 vote192 views1 answer
- 0 vote225 views3 answers