(Feb-04-2018, 03:44 AM)mcmxl22 Wrote: In case 1 you have a list of 4 strings with 1 character each.to see if the first character in the string referenced by the variable named word is 'w' or 'x' or 'y' or 'z'.
In case 2 you have 1 string that is 4 characters long.
what are you testing for?
i didn't know of .startswith() or even know to look for it. is it faster?
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.