String Processing with Iteration E8. Use a for-loop and range to print out each letter of a word stored in a variable named word, with each letter on a separate line. To make your code as general as possible, use the syntax range (len (word)) so that your code works with words of any length. [ ] 1 E9. Repeat the above process, but this time use the "for-each" syntax of a for-loop to print each letter of word on a separate line. That is, your code will need to contain the syntax for w in word somewhere (or a variable with a name other than w, your choice). [ ] 1 E10. Write a for-loop that computes and displays the sum of the Unicode values of the characters in a string variable named name. Provide your own string to store in name. [ ] 1 E11. Create a string called movie and store the title of a movie in it. Pick a movie whose title contains at least 15 characters. Using a for-loop and an if-statement, copy the lowercase vowels in the movie title into a new string called vowels_only. Then display the contents of vowels_only. For instance, for the string 'Lord of the Rings', vowels_only would equal 'ooei'. [ ] E12. Use the enumerate function and a for-loop to print each uppercase letter, along with its position in the alphabet, each on a separate line. Your output should resemble the following: A 1 B2 C 3 1 Z 26

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

in python please thank u

String Processing with Iteration
E8. Use a for-loop and range to print out each letter of a word stored in a variable named word, with each letter on a separate line. To make
your code as general as possible, use the syntax range (len (word)) so that your code works with words of any length.
[ ]
E9. Repeat the above process, but this time use the "for-each" syntax of a for-loop to print each letter of word on a separate line. That is, your
code will need to contain the syntax for w in word somewhere (or a variable with a name other than w, your choice).
[ ]
1
E10. Write a for-loop that computes and displays the sum of the Unicode values of the characters in a string variable named name. Provide your
own string to store in name.
[ ] 1
[ ]
1
E11. Create a string called movie and store the title of a movie in it. Pick a movie whose title contains at least 15 characters. Using a for-loop
and an if-statement, copy the lowercase vowels in the movie title into a new string called vowels_only. Then display the contents of
vowels_only. For instance, for the string 'Lord of the Rings', vowels_only would equal 'ooei'.
A 1
B 2
C 3
Z 26
E12. Use the enumerate function and a for-loop to print each uppercase letter, along with its position in the alphabet, each on a separate line.
Your output should resemble the following:
1
✓ Os completed at 7:28 PM
Transcribed Image Text:String Processing with Iteration E8. Use a for-loop and range to print out each letter of a word stored in a variable named word, with each letter on a separate line. To make your code as general as possible, use the syntax range (len (word)) so that your code works with words of any length. [ ] E9. Repeat the above process, but this time use the "for-each" syntax of a for-loop to print each letter of word on a separate line. That is, your code will need to contain the syntax for w in word somewhere (or a variable with a name other than w, your choice). [ ] 1 E10. Write a for-loop that computes and displays the sum of the Unicode values of the characters in a string variable named name. Provide your own string to store in name. [ ] 1 [ ] 1 E11. Create a string called movie and store the title of a movie in it. Pick a movie whose title contains at least 15 characters. Using a for-loop and an if-statement, copy the lowercase vowels in the movie title into a new string called vowels_only. Then display the contents of vowels_only. For instance, for the string 'Lord of the Rings', vowels_only would equal 'ooei'. A 1 B 2 C 3 Z 26 E12. Use the enumerate function and a for-loop to print each uppercase letter, along with its position in the alphabet, each on a separate line. Your output should resemble the following: 1 ✓ Os completed at 7:28 PM
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Computational Systems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education