Given the question: In how many ways can 7 people line up for play tickets?
The number of ways for the first = 7
The number of ways for the second = 6
The number of ways for the third = 5
The number of ways for fourth = 4
The number of ways for the fifth = 3
The number of ways for the sixth = 2
The number of ways for the seventh = 1
So, the total number of ways = 7 x 6 x 5 x 4 x 3 x 2 x 1 = 5,040
So, the answer will be option B. 5,040