def concatenate(string1, string2): combined_string = string1 + string2 return combined_string concatenate('ethan', 'white') print combined_string result = concatenate('ethan', 'white') print result print "The name of our professor is %s" % concatenate('ethan ', 'white') def concatenate(string1, string2): combined_string = string1 + string2 result = concatenate('ethan', 'white') print result a = 10 b = 20 if a > 15: print 1 elif a == 10 and b < 100: print 2 elif b == 20: print 3 else: print 4 a = 10 b = 20 if a > 15: print 1 if a == 10 and b < 100: print 2 if b == 20: print 3 else: print 4 mystring = "hello world" print mystring.upper() print mystring.count('l') mylist = [1, 3, 4, 2, 7] print mylist.sort() print mylist mylist = [1, 3, 4, 2, 7] mylist = mylist.sort() print mylist