if else statement python for string variable code example Example: how to do if= python #if you are doing this if X=1 #Do this if X==1