diff --git a/Level_04/Aufgaben/monty_a.py b/Level_04/Aufgaben/monty_a.py index 404482a..a03046e 100755 --- a/Level_04/Aufgaben/monty_a.py +++ b/Level_04/Aufgaben/monty_a.py @@ -64,6 +64,6 @@ # Buchstabenhäufigkeiten: file_obj = path_chars.open("w") for char, count in char_count.items(): - line = "{char};{count}\n" + line = f"{char};{count}\n" file_obj.writelines([line]) file_obj.close()