some things can only be converted to int by a call like
int(thing)
, such as a float object. other things can only be converted to int by a call like int(thing,0)
, such as a string that has an unknown base specified in the prefix of the string such as '0xff' or '0o377' or '0b11111111' or just '255'. float does not work in int(thing,0)
and most of those strings don't work in int(thing)
.
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.