diff --git a/courseinfo.py b/courseinfo.py index 9b45cba..731fd8e 100644 --- a/courseinfo.py +++ b/courseinfo.py @@ -17,4 +17,4 @@ def get_course_info(id: str): if __name__ == '__main__': sep = input('Please enter the separator (Eg. a comma): ') l = input(f'Please enter course codes separated by "{sep}": ') - [print(get_course_info(it.strip())['full']) for it in l.split(sep)] + [print(get_course_info(it.strip())['full'] + ' ') for it in l.split(sep)]