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)
Escuela, estudio y materia
- Institución
- Modern Technology School
- Grado
- PROGRAMMIN 1101
Información del documento
- Subido en
- 15 de marzo de 2022
- Número de páginas
- 5
- Escrito en
- 2021/2022
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
programmin 1101
-
programmin 1101 learning journal unit 6