How am i supposed to know from the introduction on this lesson that i can just type : return letter in word?? Also i have no idea how :
Write a function called
common_letters that takes two arguments,
string_two and then returns a list with all of the letters they have in common.
Is equal to:
def common_letters(string_one, string_two):
for letter in string_one:
if (letter in string_two) and not (letter in common):
I am so so so lost. I dont understand loops at all and now strings are killing me. I feel like I am too stupid to understand the lessons.