numbers = ['4', '07', '08', '2017', '364', '355673087875675'] print(max(int(number) for number in numbers))
Standard input is empty
355673087875675
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!