結果 : construct the python code for greatest among three numbers using ternary operator