/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
- 1 vote155 views1 answer
- 2 votes153 views1 answer
- 5 votes195 views1 answer
- 0 vote206 views2 answers
- 0 vote167 views1 answer
- 4 votes155 views2 answers
- 0 vote161 views1 answer
- 3 votes197 views4 answers
- 0 vote152 views3 answers
- 0 vote151 views1 answer