rightTotal = 0leftTotal = 0leftOrRight = input("Enter an L if you are left-handed, an R if you are right-handed or X to quit.")while leftOrRight != "X":if leftOrRight == "L":leftTotal += 1elif leftOrRight == "R":rightTotal += 1leftOrRight = input("Enter an L if you are left-handed, an R if you are
End of preview. Want to read the entire page?
Upload your study docs or become a
Course Hero member to access this document
Heather D. Wright
Left handedness, Handedness, Right handedness, elif leftOrRight