I need the answer to this in Python. The code I have so far isbelow, but I can’t get it to work. The program where I submit thecode adds it’s own input, so there’s no need for printed questionsfor a user to input. The computer does all that. The help is muchappreciated.
![4.12 LAB: Parity of Numbers Write a program that returns the parity of the sum of the date, month and year of your birthday. Example Input: 12/8/1996 Output: Even LAB ACTIVTY 4.12.1: LAB: Parity of Numbers 0/3 main.py Load default template.. 1 def check_parity(dob): parity 3 paritybit -0 4 whilel n: 6 7 if paritybit: 9 else: 11 return parity paritybit paritybit n-n&(n 1) parityOdd 10 parity Even 12 13 if name _main-: 14 = [int(i) for i in input(). split(/)] 15 print(check_parity(sum(1)))](https://media.cheggcdn.com/media%2F7af%2F7affe0db-3bdf-4ebf-b199-fb39ffc1affd%2Fphp6kGijI.png)
4.12
PayPal Gateway not configured
PayPal Gateway not configured