###################################################################### # MD: code I wrote for you, in order to make sure you get two strings, # a & b, from the user, with a being shorter than b # MD: importing sys, which will allow us to output to the screen more # quickly import sys # MD: Ask user to enter their first string print "Please enter the first string:" sys.stdout.flush() first = raw_input() # MD: Ask user to enter their second string print "Please enter the second string:" sys.stdout.flush() second = raw_input() # MD: create 2 variables, a & b: # - These will be the user-inputted strings, with the provision that: # - a is shorter than b a = first b = second if len(b) < len(a): a = second b = first ###################################################################### # YOUR CODE GOES HERE