Computers and Technology
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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 19:10, gummybear1398
Select the correct answer. emma, the quality control manager in a software development company, asks the testing team to check whether the user interface is friendly. to which type of testing is emma referring? a. usability testing b. data comparison c. validation testing d. stress testing e. destruction testing
Answers: 1
image
Computers and Technology, 22.06.2019 22:30, studybug2306
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
image
Computers and Technology, 23.06.2019 03:30, patience233
Many everyday occurrences can be represented as a binary bit. for example, a door is open or closed, the stove is on or off, and the fog is asleep or awake. could relationships be represented as a binary value? give example.
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, bellamyciana
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
Do you know the correct answer?
In this lab, you add a loop and the statements that make up the loop body to a Python program. When...

Questions in other subjects:

Konu
Mathematics, 03.12.2020 06:40
Konu
Mathematics, 03.12.2020 06:40