subject

Learning Objectives Create a function with the required parameters and return value
Use for loop to go over !size! of the substring Use slicing to get the substring Instructions A little bit of looking back to strings:
A substring - any part of a string A prefix - part of the string that starts from the very beginning of the initial string.
Example: string "you are so nice" have prefixes "y", "you", "you ar", "you are so" and that is not all of them! Create a program that would read one string and print all prefixes of that string. Example program input: Nice day! Example program output: N Ni Nic Nice Nice Nice d Nice da Nice day Nice day!

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Jean has kept the content of her website limited to what is important; she has also ensured that the text follows a particular style and color all throughout her website. which website features has jean kept in mind? jean has limited the content of her website to what is important; this ensures (clarity, simplicity, harmony and unity) of the content. she has also formatted the text in a particular style and color throughout her website, ensuring (balance, simplicity, consistency)
Answers: 2
You know the right answer?
Learning Objectives Create a function with the required parameters and return value
Use for...
Questions
question
Mathematics, 13.12.2019 04:31
Questions on the website: 13722363