The local theater has one ticket window. In how many ways can six people line up to buy a ticket?

There are 6 options for who can stand first in line. After that person is chosen, there are 5 options for who can stand second, then 4 options for who can stand third, and so on. Therefore, the total number of ways 6 people can line up is:

6 x 5 x 4 x 3 x 2 x 1 = 720

So there are 720 ways for six people to line up to buy a ticket at the local theater.