Skip to content
Snippets Groups Projects
Commit b36095b7 authored by Børge Haugset's avatar Børge Haugset
Browse files

siste uke

parent 5fc35d45
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def importResults(filnavn): # Oppgave a)
- håndtere unntak
'''
try:
with open(filnavn, 'r', encoding='utf-8') as f:
with open(filnavn, 'r', encoding='utf8') as f:
alt = f.readlines()
for i in range(len(alt)):
alt[i] = alt[i].strip()
......@@ -94,9 +94,9 @@ def showResults(analyzed): # Oppgave e)
print('Her skal jeg gjøre noe helt annet enn jeg gjør nå!')
# Linjene under kan du kjøre for å sjekke koden din:
#showResults(analyseResults(results))
# showResults(analyseResults(results))
''' Eksempel på kjøring:
''' Eksempel på kjøring:
>>> savePoints(team_data)
Team information saved to Points.txt.
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment