PROGRAMMIN 1101 Learning Journal Unit 6
Learning Journal Unit 6 Part 1 Write a Python program that does the following. Create a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, animals, anything. Just make it up yourself. Do not copy the string from another source. >>> my_string='Two Worlds Three Seas Seven Mountains' Turn the string into a list of words using split. >>> my_() ['Two', 'Worlds', 'Three', 'Seas', 'Seven', 'Mountains'] >>> Delete three words from the list, but delete each one using a different kind of Python operation. >>> my_list=['Countryside', 'The City', 'Big Village', 'The river', 'Tent'] >>> my_(1)
Written for
- Institution
-
Modern Technology School
- Course
-
PROGRAMMIN 1101
Document information
- Uploaded on
- March 15, 2022
- Number of pages
- 5
- Written in
- 2021/2022
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- programmin 1101
-
programmin 1101 learning journal unit 6