An idiom is defined as - a group of words in a fixed order that has a particular meaning that is different from the meanings of each word on its own.
try one's luck at (something)
to try to do something (where success depends on luck)
I will try my luck at buying a lottery ticket although I usually never win.
List of common idioms, their meanings and examples of their usage in sentences
An idiom is defined as - a group of words whose meaning is different from the meanings of the individual words.