#!/usr/bin/python some_var = 'sa' words = 'same' if some_var in words: print "yes"