/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 votes273 views3 answers
- 0 vote271 views3 answers
- -1 vote289 views1 answer
- 9 votes271 views1 answer
- 1 vote257 views1 answer
- 0 vote242 views1 answer
- 0 vote274 views3 answers
- 3 votes282 views1 answer
- 0 vote298 views1 answer
- 0 vote267 views1 answer