I'm working through some examples from Treehouse via the Python course, and I'm having a hard time understanding the code below.
As far as I can tell we are looping through "You got this!". However, I'm not sure what the if statement is actually doing; can someone explain this to me?
for letter in "You got this!":
if letter in "oh":
print(letter)
print(letter)without theifto see what happensletteris going to be something like"Y","o","u", and so on. Do the checks"Y" in "oh"and"o" in "oh"make more sense?