@@ -0,0 +1,635 @@
+# Print every single letter of a word with 'for' iteration and with 'while' iteration%0A# Also create a method for all single iteration required. Finally with main method%0A# require a word to be printed, until isn't typed 'done!'%0A#%0A%0Adef print_letters_with_for( word ):%0A%0A%09for w in word:%0A%09%09print w%0A%09print '%5Cn'%0A%0Adef print_letters_with_while( word ):%0A%09length = len( word )%0A%09i = 0%0A%09while i %3C length:%0A%09%09print word%5Bi%5D%0A%09%09i += 1%0A%09print '%5Cn'%0A%0A%0Adef main( ):%0A%0A%09word = raw_input('%3E%3E')%0A%09while True:%0A%09%09if word != 'done!':%0A%09%09%09print_letters_with_for( word )%0A%09%09%09print_letters_with_while( word )%0A%09%09%09word = raw_input('%3E%3E')%0A%09%09else:%0A%09%09%09break%0A%0A%09quit(0)%0A%0Amain( )

Print every single letter of a word with 'for' iteration and with 'while' iteration