What kind of growing environment does the yucca prefer?

Other names for the yucca
Yucca, also known as yucca filamentosa, Yucca elephantipes, Spanish bayonet, pineapple flower, and thick-leaved yucca.
Growing habits of the yucca
The yucca is highly adaptable to its environment and is relatively tolerant of water and moisture. In addition, the yucca prefers light and can tolerate shade; when grown indoors, it is generally enough to place it in a spot with plenty of diffused light.
The yucca has low requirements for soil; generally, a loose and fertile sandy soil is chosen. Its fertilizer requirements are also low, and when grown in pots, a compound fertilizer can be applied once in spring and autumn.
When propagating the yucca, cutting propagation and division propagation are the main methods. The above-ground stem can also be cut into slices for water culture.
The flower language of the yucca
The flower language of the yucca is blooming hope.