# Oppgave 1 def storst_av_to(tall1, tall2): if tall1 > tall2: return tall1 return tall2 #Oppgave 2 fil = open("historie.txt") liste = [] for linje in fil: liste.append(linje) fil.close() #Oppgave 3 def is_true(a, b): if a and b: # True and True return 1 elif not a and not b: #False and False return 0 return -1