To predict how many visitors would like a comedy based on the survey data, we first need to find the total number of visitors who participated in the survey.
The total number of visitors is the sum of visitors for all types of movies:
\[ \text{Total Visitors} = 12 \text{ (Comedy)} + 5 \text{ (Action)} + 3 \text{ (Drama)} + 0 \text{ (Horror)} + 18 \text{ (Mystery)} + 7 \text{ (Thriller)} + 5 \text{ (Romance)} = 50 \]
Next, we calculate the proportion of visitors who liked comedy:
\[ \text{Proportion of Comedy} = \frac{12 \text{ (Comedy)}}{50 \text{ (Total Visitors)}} = 0.24 \]
Now, we can use this proportion to predict how many students would like comedy if we surveyed 1,275 students:
\[ \text{Predicted Visitors for Comedy} = 1,275 \times 0.24 = 306 \]
Therefore, we would predict that approximately 306 students would like a comedy.