Please help me with my code
Write a Python program that will ask the user to choose between A or B. If A is chosen the program will compute and display the Harmonic Mean of a given series of numbers else it will compute and display the Geometric Mean. Let 0 be the sentinel value. Harmonic and Geometric means are define below. Use the following user-defined functions in your program: validate_choice() â choice must be A/a or A/b only display_menu()-display menu and allow user to choose between A and B validate_n() â validate n, n>0 harmonic() â input series of numbers and compute harmonic mean geometric() â input series of numbers and compute geometric mean display_mean()-display harmonic or geometric mean Note: Input validation : for choice A/B, if input is invalid, ask again until a valid data is given, program must accept uppercase or lowercase character Input validation : in Geometric Mean, do not accept if number is less than 0 Round-off results to 4 decimal places Program should execute for as long as the user wants to continue Provide 2 sample runs using the test data below: Test Data 1 : if A : 9, 2, 3.6, -5.4, 4.6, 0.8, 9.7, -2.3, -1.4, 0 Test Data 2 : if B : 7, 4, 3.6, -5.4, -4.6, 4.6, 0.8, 9.7, -2.3, -1.4, 1.4, 0 https://code.sololearn.com/cAkcyxvsUGyZ/?ref=app



