Computers and Technology, 05.12.2019 19:31, jetblackcap
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 code" bottom at the bottom of the screen. input the data listed above and verify that the output is correct.
Answers: 1
Computers and Technology, 21.06.2019 21:00, hannaboo53
Answers: 3
Engineering, 26.10.2019 02:43, jellyangie1
Answers: 2
Computers and Technology, 12.11.2019 14:31, reagriffis24
Answers: 2
Computers and Technology, 26.11.2019 14:31, kyle696969
Answers: 3
In this lab, you add a loop and the statements that make up the loop body to a python program. when...
Mathematics, 04.03.2021 01:00
English, 04.03.2021 01:00
Mathematics, 04.03.2021 01:00
Mathematics, 04.03.2021 01:00
History, 04.03.2021 01:00
Mathematics, 04.03.2021 01:00