Fixed a typo

This commit is contained in:
Vivek Santayana 2022-08-29 19:33:42 +01:00
parent f9d76a12ea
commit 1218dbc911

View File

@ -123,7 +123,7 @@ def render_results(results:dict):
for action in data['actions']: for action in data['actions']:
print('-- ', sanitise_text(action)) print('-- ', sanitise_text(action))
input('\nPress enter to continue.') input('\nPress enter to continue.')
print('\ny-- Your score for each playbook: --') print('\n-- Your score for each playbook: --')
for playbook, score in results['all_playbooks'].items(): print(f'The {playbook[0].upper()}{playbook[1:]}: {score*"x"} ({round(100*score/results["max_score"])}%)') for playbook, score in results['all_playbooks'].items(): print(f'The {playbook[0].upper()}{playbook[1:]}: {score*"x"} ({round(100*score/results["max_score"])}%)')
def run_quiz(): def run_quiz():