In a certain Algebra 2 class of 27 students, 11 of them play basketball and 13 of them play baseball. There are 5 students who play neither sport. What is the probability that a student chosen randomly from the class plays basketball or baseball?

Do you have a typo or is the question really as obvious as it seems?

since 5 play neither, then 22 must play either basketball or baseball
prob(basketball or baseball) = 22/27