May-23-2021, 10:42 PM
i want to convert a string of digits (with maybe one fraction point for float) to a numeric and stop at the first digit that is not convertible so the caller gets the converted numeric value and how many digits were converted. maybe it would be a function that returns a 2-tuple or named sequence or some other way. does Python have anything built-in?
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.