subject

Python 9.13 lab: warm up: parsing strings(1) prompt the user for a string that contains two strings separated by a comma. (1 pt)examples of strings that can be accepted: jill, allenjill , allenjill, allenex: enter input string: jill, allen(2) report an error if the input string does not contain a comma. continue to prompt until a valid string is entered. note: if the input contains a comma, then assume that the input also contains two strings. (2 pts)ex: enter input string: jill allenerror: no comma in string. enter input string: jill, allen(3) using string splitting, extract the two words from the input string and then remove any spaces. output the two words. (2 pts)ex: enter input string: jill, allenfirst word: jillsecond word: allen(4) using a loop, extend the program to handle multiple lines of input. continue until the user enters q to quit. (2 pts)ex: enter input string: jill, allenfirst word: jillsecond word: allenenter input string: golden , monkeyfirst word: goldensecond word: monkeyenter input string: washington, dcfirst word: washingtonsecond word: dcenter input string: q

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29° outside chairs to be 2.75 m above the ground in full swing.
Answers: 1
question
Computers and Technology, 22.06.2019 14:50
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer.b. don’t write your password down and leave it where others can find it.c. share your password with your friends.d.each time you visit a website,retain the cookies on your computer.e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
Jaina and tomas are being considered as new tenants in an apartment. the landlord looks at their creditworthiness because he wants to be sure his new tenant pays the rent on time and in full. the table below summarizes the information that was on their applications. application information questions jaina tomas how many years have you had your job? 5 2 what is your monthly salary? $1,850 $2,500 how many credit cards do you have? 4 1 how much debt do you have? $13,000 $7,000 how many times were you late with payments on credit cards in the past year? 5 1 who will the landlord decide to be more creditworthy and why? tomas because the ratio of his debt to income is less. jaina because she has had her job longer, which makes her look more stable. jaina because she has more credit cards available to her. tomas because he makes more money per month.
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
You know the right answer?
Python 9.13 lab: warm up: parsing strings(1) prompt the user for a string that contains two string...
Questions
question
Spanish, 25.09.2019 09:10
question
Mathematics, 25.09.2019 09:10
Questions on the website: 13722363