tem_array = {10, 2, 3, 20, 1}arraymax = math.max(unpack(tem_array)) print (arraymax) -- 20
Standard input is empty
20
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!