Answered step by step
Verified Expert Solution
Question
1 Approved Answer
this is my code it works perfectly fine until i put it grader it says: PYTHON ONLY Test Failed: 'Traceback (most recent call last): File
this is my code it works perfectly fine until i put it grader it says: PYTHON ONLY
Test Failed: 'Traceback (most recent call last): File "means.py", line 19, inimport math import stdio import sys a for v in sys. argv [1 J: list float (v a append (list) n len for v in a: gm m math logle (v) hm hm (1 v) stdio write geometric mean str 10 grm n))) stdio .writeln harmonic mean str(n hmstdio.write(\'geometric mean = \' + str(10 **(gm))) ZeroDivisionError: integer division or modulo by zero' != 'geometric mean = 2.605171, harmonic mean = 2.189781'
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started