Question
You are going to use the string Supercalifragilisticexpialidocious and manipulate and interact with it using some of the functions we have learned. Write a program
You are going to use the string "Supercalifragilisticexpialidocious" and manipulate and interact with it using some of the functions we have learned. Write a program that:
1. Stores "Supercalifragilisticexpialidocious" in a variable
2. Counts and outputs the number of letters in the string
3. Concatenates (combines) the string with "is something quite atrocious" and outputs it (don't forget the space in between!)
4. Break the string up into a list with three elements, with each element being a part of the string (hint: you'll want to use index ranges to break this up). Print the list.
5. Concatenate the list elements you created in step 4 back into the word and print it. There should be no white spaces between the pieces of the word.
6. Create a new list with at least 2 names in it. Add your name to the list and print the list.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started