Feb-04-2018, 02:52 AM
which is a better test where the variable named word is always a string with a length greater than zero?
case 1
case 2
case 1
if word[0] in ('w','x','y','z'): ...or
case 2
if word[0] in 'wxyz': ...
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.