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