1
0
mirror of https://github.com/bregman-arie/devops-exercises.git synced 2025-07-06 23:36:36 +02:00

Change 'challenge' into 'exercises' so questions are correctly counted

This commit is contained in:
surister
2020-09-18 10:20:12 +02:00
parent 7dc878fb55
commit cc848b135d
2 changed files with 6 additions and 3 deletions

View File

@ -21,7 +21,9 @@ file_list = [line.rstrip() for line in file]
question_list = get_question_list(file_list)
question_count = len(question_list)
total_count = question_count + get_challenges_count()
print(question_count)
print(get_challenges_count())
print(total_count)
for line in file:
if LINE_FLAG in line:
file[file.index(line)] = b':bar_chart:  There are currently **%s** questions\r\n' %\