Ad
Code
Diff
  • def find_max(arr):
        max = 0
        for i in range(len(arr)):
            if arr[i] > max:
                max = arr[i]
        return max
    • def find_max(arr):
    • return 0
    • max = 0
    • for i in range(len(arr)):
    • if arr[i] > max:
    • max = arr[i]
    • return max
def numberplatereader(plate):
    import re
    if re.match("[A-Z]{2}[0-9]{2}\s[A-Z]{3}", plate) != None:
        return True
    else:
        return False