Why error with result?

Anonymous
plain_text
08/31/2021 6:18 PM
172 B
16
Indexable
i = 0
while i < 4: 
    nr = int(input("Number: "))
    result += nr  
    i += 1 
print ("Result of addition problem: ", result)
Editor is loading...