What email address or phone number would you like to use to sign in to Docs.com?
If you already have an account that you use with Office or other Microsoft services, enter it here.
Or sign in with:
Signing in allows you to download and like content, which the author will be aware of.
Embed code for: nov23
#Exit when user types exit (#8 ) #create a loop that repeatedly asks for a string #initialise word to a null value word =' ' #create an integer called count #keep prompting for a word until that word = 'exit' while (word != 'exit'): word = raw_input("Please enter a word:") #increment count count = count + 1 print 'You entered',count,'words.'