diff --git a/source/Control_Flow_Statements.rst b/source/Control_Flow_Statements.rst index 87b9f0dafc21467321cb54dded2a8826025dd77c..026d9e5dfe18d6527a3c06d2e5cba2c1125faf33 100644 --- a/source/Control_Flow_Statements.rst +++ b/source/Control_Flow_Statements.rst @@ -37,11 +37,11 @@ Exercise display the largest element in list (containing float or integer only)?:: l = [1,2,3,4,58,9] + higest = l[0] for i in l: - highest = l[0] if i > highest: highest = i - print i + print highest Exercise