Rename tasks in order to be importable
This commit is contained in:
parent
055737dabe
commit
8d6861f742
@ -1,14 +1,13 @@
|
|||||||
from t9a import mainBranch
|
from task9a import mainBranch
|
||||||
|
from task9b import fritidsboligBranch, secondaryHouseBranch, safeQuestion
|
||||||
from t9b import fritidsboligBranch, secondaryHouseBranch, safeQuestion
|
|
||||||
|
|
||||||
choices = ['egen bolig', 'sekundærbolig', 'fritidsbolig']
|
choices = ['egen bolig', 'sekundærbolig', 'fritidsbolig']
|
||||||
choices.extend([choice.capitalize() for choice in choices])
|
choices.extend([choice.capitalize() for choice in choices])
|
||||||
|
|
||||||
choice = safeQuestion(
|
choice = safeQuestion(
|
||||||
question='Skriv inn hustype for skatteutregning (egen bolig, sekundærbolig, fritidsbolig): ',
|
question=
|
||||||
choices=choices
|
'Skriv inn hustype for skatteutregning (egen bolig, sekundærbolig, fritidsbolig): ',
|
||||||
)
|
choices=choices)
|
||||||
|
|
||||||
if choice in ['egen bolig', 'Egen bolig']:
|
if choice in ['egen bolig', 'Egen bolig']:
|
||||||
mainBranch()
|
mainBranch()
|
@ -1,3 +1,5 @@
|
|||||||
|
from common import inputTypeCheck
|
||||||
|
|
||||||
def numberPyramid(length):
|
def numberPyramid(length):
|
||||||
for i in range(length):
|
for i in range(length):
|
||||||
row = ''
|
row = ''
|
Loading…
Reference in New Issue
Block a user