Given an array, choose two contiguous non-overlapping arrays, such that all elements are strictly increasing. Return the maximum length possible for this combination. Ex: 7 1 2 4 6 5 3 8 9 10 => ans: 7 (Choose 1 2 4 6 & 8 9 10) l
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)
Traceback (most recent call last): File "recaptcha.py", line 10, in conf = json.loads(open(f"config/recaptcha.json",f"r").read()) FileNotFoundError: [Errno 2] No such file or directory: 'config/recaptcha.json'
Write a program to declare a square matrix A[][] of order M x M where 'M' is the number of rows and the number of columns, such that M must be greater than 2 and less tham 10.