num = [23,89,12,56,78] maxnum = num[0] for n in num: if n > maxnum: maxnum = n print(maxnum)
To embed this project on your website, copy the following code and paste it into your website's HTML: