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 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()
|
|
@ -1,3 +1,5 @@
|
|||
from common import inputTypeCheck
|
||||
|
||||
def numberPyramid(length):
|
||||
for i in range(length):
|
||||
row = ''
|
Loading…
Reference in New Issue