t249.py 68 B

123
  1. var1 = "foo"
  2. if isinstance(var1, str):
  3. print "var1 is a string"