Closed arunimaChintu closed 11 months ago
Thanks for your contribution but the thing is these codes will only work for 2 inputs. whatif there are n inputs and the user have to find the avg of those n numbers? Think and resumit then ill merge it to master. Hint: use args/kwargs. refer google.
resubmitted... is it okay now?
So what does percentage3(x:'float', y:'float',z:'float')->'float':
does? and why there is /2 in the code while getting percentage of three numbers. pls correct it.
replaced the percentage3 with calculate_percentage
This PR is ready to be merged.
the average function is added in the easyPythonpi.py and it finds the average of any two or three numbers.