Question
There was nothing for it but to fight
Answers
oobleck
here "to fight" is used as a noun
(object of the preposition "but").
(object of the preposition "but").