Dec-01-2019, 10:29 PM
i need to get the type of an object as a string, as in
[] -> 'list'
. does anything already exist for this or do i need to use my own function?def typestr(obj): return str(type(obj)).split("'")[1]
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.