Aug-09-2019, 01:03 AM
in a function that might get a list, but requires certain sizes, what exception should it raise if it gets the wrong size? the function i am writing today requires 2 or more items in the list, so it is raising an exception
if len(this_list)<2:
. what exception should that be? ValueError? TypeError? RunTimeError? something else?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.