We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Sets
- Introduction to Sets
- Discussions
Introduction to Sets
Introduction to Sets
Sort by
recency
|
582 Discussions
|
Please Login in order to post a comment
def average(array):
a=sum(set(array))/len(set(array))
return a Really i don't understand why it works even though it just prints normally
in this question have issue please solve the issue my code is fully correct but still gives answer is incorrect with the test cases. But actually test cases are wrong according to question