subject
Computers and Technology, 19.02.2021 02:40 MK100

In this lab, you add a loop and the statements that make up the loop body to a Python program. When completed, the program should calculate two totals: the number of left-handed people and the number of right-handed people in your class. Your loop should execute until the user enters the character X instead of a L for left-handed or a R for right-handed. The inputs for this program are as follows: R, R, R, L, L, L, R, L, R, R, L, X. Note that variables have been assigned for you, and the input and output statements have been written for you. Instructions Make sure the file LeftOrRight. py is selected and open. Write a loop and a loop body that allows you to calculate a total of left-handed and a total of right-handed people in your class. Execute the program using the Run bottom at the bottom of the screen. Input the data listed above and verify that the output is correct.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:40
Peripherals are part of the main computer. true false
Answers: 3
question
Computers and Technology, 22.06.2019 09:50
Assume that you have an sorted array of records. assume that the length of the array (n) is known. give two different methods to search for a specific value in this array. you can use english or pseudo-code for your algorithm. what is the time complexity for each algorithm and why?
Answers: 1
question
Computers and Technology, 22.06.2019 19:00
Stacy works as blank. the most important soft skill she needs for this role is blank.
Answers: 3
question
Computers and Technology, 23.06.2019 08:30
Helen's credit card has an apr of 15.32% and a grace period of 17 days and helen pays her balance in the full every month. if her last billing cycle ended on september 26, 2009, and she made her payment on october 11, 2009, did she owe any interest on her last statement's balance?
Answers: 3
You know the right answer?
In this lab, you add a loop and the statements that make up the loop body to a Python program. When...
Questions
question
Social Studies, 30.01.2020 16:43
question
Mathematics, 30.01.2020 16:43
Questions on the website: 13722361