/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 vote118 views1 answer
- 3 votes88 views1 answer
- 10 votes118 views3 answers
- 1 vote139 views2 answers
- 0 vote112 views1 answer
- 30 votes114 views3 answers
- 0 vote115 views2 answers
- 0 vote106 views1 answer
- 75 votes101 views2 answers
- 18 votes111 views4 answers