Rename tasks in order to be importable

This commit is contained in:
Oystein Kristoffer Tveit 2020-09-15 09:27:47 +02:00
parent 055737dabe
commit 8d6861f742
26 changed files with 7 additions and 6 deletions

View File

@ -1,14 +1,13 @@
from t9a import mainBranch
from t9b import fritidsboligBranch, secondaryHouseBranch, safeQuestion
from task9a import mainBranch
from task9b import fritidsboligBranch, secondaryHouseBranch, safeQuestion
choices = ['egen bolig', 'sekundærbolig', 'fritidsbolig']
choices.extend([choice.capitalize() for choice in choices])
choice = safeQuestion(
question='Skriv inn hustype for skatteutregning (egen bolig, sekundærbolig, fritidsbolig): ',
choices=choices
)
question=
'Skriv inn hustype for skatteutregning (egen bolig, sekundærbolig, fritidsbolig): ',
choices=choices)
if choice in ['egen bolig', 'Egen bolig']:
mainBranch()

View File

@ -1,3 +1,5 @@
from common import inputTypeCheck
def numberPyramid(length):
for i in range(length):
row = ''