/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 vote294 views1 answer
- 10 votes265 views6 answers
- 9 votes257 views2 answers
- 0 vote276 views1 answer
- 9 votes272 views6 answers
- 1 vote289 views1 answer
- 13 votes308 views6 answers
- 14 votes272 views2 answers
- 62 votes270 views6 answers
- 3 votes258 views2 answers