Education expenses for state approved nursing reentry program

Wife was enrolled in a state approved nursing reentry program in 2023. Are the tuition fees and text book expenses considered qualified education expenses? If so, what should i answer in the intuit app as of what did we use this money for. The options are: student used it to go to elementary school, college, apprentice program, etc (I didn't see anything that fits)

 

Could we have used 529 College saving plan for that?

 

 

Thanks.