/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 vote248 views2 answers
- -1 vote220 views2 answers
- 1 vote241 views1 answer
- 3 votes249 views1 answer
- 9 votes222 views3 answers
- 0 vote221 views1 answer
- 0 vote257 views1 answer
- 9 votes233 views1 answer
- 1 vote228 views1 answer
- 0 vote255 views1 answer