Question: in python please 1. Write a function different() that takes a two-dimensional table as input and returns the number of distinct entries in the table.
in python please
1. Write a function different() that takes a two-dimensional table as input and returns the number of distinct entries in the table.
>>> t = [[1,0,1], [0,1,0]]
>>> different(t)
2
>>> t = [[32, 67,44,12], [32, 89,55,89], [89,86,83,55],[14,17,64,52]]
>>> different(t)
12
>>>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
