subject

1. (using python)
assume choice references a string. the following if statement determines whether choice is equal to ‘y’ or ‘y’:
if choice == ‘y’ or choice == ‘y’:
rewrite this statement so it only makes one comparison, an does not use the or operator. (hint: use either the upper or lower methods.)
write a loop that counts the number of space characters that appear in the string referenced by mystring.
write a loop that counts the number of digits that appear in the string referenced by mystring.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:00
Which best describes the role or restriction enzymes in the analysis of edna a. to break dna into fragments that vary in size so they can be sorted and analyzed b. to amplify small amounts of dna and generate large amounts of dna for analysis c. to purify samples of dna obtained from the environment so they can be analyzed d. to sort different sizes of dna fragments into a banding pattern that can be analyzed
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Consider the series where in this problem you must attempt to use the ratio test to decide whether the series converges. compute enter the numerical value of the limit l if it converges, inf if it diverges to infinity, minf if it diverges to negative infinity, or div if it diverges but not to infinity or negative infinity.
Answers: 1
You know the right answer?
1. (using python)
assume choice references a string. the following if statement determines whe...
Questions
question
Mathematics, 21.05.2021 18:10
question
History, 21.05.2021 18:10
question
Mathematics, 21.05.2021 18:10
question
Social Studies, 21.05.2021 18:10
question
Biology, 21.05.2021 18:10
question
Mathematics, 21.05.2021 18:10
Questions on the website: 13722367