Why error with result?

 avatar
unknown
plain_text
4 years ago
129 B
6
Indexable
i = 0
while i < 4: 
    nr = int(input("Number: "))
    result += nr  
    i += 1 
print ("Result of addition problem: ", result)
Editor is loading...