subject

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.
Turn the string into a list of words using split.
Delete three words from the list, but delete each one using a different kind of Python operation.
Sort the list.
Add new words to the list (three or more) using three different kinds of Python operation.
Turn the list of words back into a single string using join.
Print the string.
Part 2
Provide your own examples of the following using Python lists. Create your own examples. Do not copy them from another source.
Nested lists
The "*" operator
List slices
The "+=" operator
A list filter
A list operation that is legal but does the "wrong" thing, not what the programmer expects
Provide the Python code and output for your program and all your examples.
Part 3
Describe your experience so far with peer assessment of Programming Assignments.
How do you feel about the aspect assessments and feedback you have received from your peers?
How do you think your peers feel about the aspect assessments and feedback you provided them?

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 04:30, NEUROPHARMACOLOGICAL
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
image
Computers and Technology, 24.06.2019 10:30, pino40
Which of the following types of software is most applicable to the promotion of new products through advertising? a. databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
image
Computers and Technology, 24.06.2019 12:30, tragicteekaay
Nikki sent flyers in the mail to all houses within the city limits promoting her computer repair service what type of promotion is this and example of
Answers: 1
image
Computers and Technology, 25.06.2019 01:40, babydolltia28
The instantiation of an endpoint in a potential tcp connection is know as
Answers: 1
You know the right answer?
Part 1 Write a Python program that does the following.
Create a string that is a long series...

Questions in other subjects:

Konu
Mathematics, 05.11.2019 04:31
Konu
Mathematics, 05.11.2019 04:31