/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
- 2 votes150 views1 answer
- 1 vote141 views1 answer
- 0 vote157 views1 answer
- 16 votes139 views1 answer
- 1 vote139 views1 answer
- 5 votes103 views2 answers
- 0 vote129 views1 answer
- 0 vote256 views1 answer
- 2 votes130 views1 answer
- 1 vote147 views1 answer