Answer:
Define a function that accept a list as an argument. Save the length of the list as a variable and cast the list to a set and also save the length to a variable.
If the result of the subtraction of the set length from the list length is not equal to zero, then the list have duplicates.
Explanation:
A sample of the source code using Python,
def list_duplicate( list ):
list_len = len( list )
new_set = set( list )
set_len = len( new_set )
If list_len - set_len != 0 :
Print( " The list has duplicate " )
dam thats smart tho with the 3 accounts
A company’s technology policy applies only to the Internet usage of employees
I’m not sure if it right so sorry if it wrong!
Answer: (A) legal and ethical
Explanation:
In the above given scenario, the liam's behaviors is consider as legal and ethical. The organization ethics is the morals of an association, and it is the means by which an association reacts to an inner or outside upgrade. Hierarchical morals is associated with the authoritative culture.
The ethical standard are basically depend on the human standards of good and bad and lawful guidelines depend on composed law, while moral norms depend on human rights and wrongs.
In the organization, the ethical and legal value are basically expressed by each employee as it is the regulatory law which is developed by the government for the particular organization to maintain the discipline.