/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
- 4 votes355 views1 answer
- 0 vote379 views1 answer
- 1 vote342 views1 answer
- 7 votes371 views3 answers
- 2 votes418 views2 answers
- 5 votes326 views1 answer
- 0 vote365 views1 answer
- 0 vote320 views1 answer
- 0 vote368 views1 answer
- 1 vote351 views1 answer