zbroj = 0 b=int(input("Unesite granicnu vrijednost: ")) for i in range (0, b, 2): zbroj = zbroj + i print ('Nakon broja', i ,'zbroj je', zbroj)