def main():
a = [2,1,5,234,3,44,7,6,4,5,9,11,12,14,13]
max = 0
for number in a:
if number > max:
max = number
print max
if __name
If you like powerfull code you would like this :) If you just have integer numbers you can substitute float by int.
maximum= max(map(float,[2,1,5,234,3,44,7,6,4,5,9,11,12,14,13]))
If you have your input in a text file do this:
file.txt2 1 5 234 3 44 7 6 4 5 9 11 12 14 13
maximum= max(map(float,(open('file.txt', 'r').readline()).split()))