comparison 比較

if str.lower()=='abc':

if str=='abc':

if文で比較できる.大文字小文字を問わないならlower()を使う.

You can compare strings with "if" statement. If you want to compare irrespective of upper or lower cases, you can use lower()

if str=='abc':

if str.lower()=='abc':