Hi all,
can someone spell out to me in (simply if possible) what this programme is 
doing.  i understand the concept of the "for" loop and 
what its doing with the message the user enters.  i just cant understand the 
VOWELS and how it keeps adding 1 letter to the message.
 
thanks for looking
A
 
  
# this programme will adding something to everything the user
#types by using a for loop
#set values
new_message=" "
VOWELS="AEIOU"
message=raw_input ("Enter a message: ")
for letter in message:
    if letter.lower() not in VOWELS:
        new_message = new_message+letter
        print new_message
                                          
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to