From 9879363a9e020c6a3c390852a986adb8d9cf7284 Mon Sep 17 00:00:00 2001 From: Hong-Phuc Bui <hong-phuc.bui@htwsaar.de> Date: Wed, 15 May 2024 11:42:20 +0200 Subject: [PATCH] Template 4 Students OK --- funktion-modular/calendar/month_of_year.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/funktion-modular/calendar/month_of_year.py b/funktion-modular/calendar/month_of_year.py index 03c7110..2d28dfa 100755 --- a/funktion-modular/calendar/month_of_year.py +++ b/funktion-modular/calendar/month_of_year.py @@ -67,7 +67,7 @@ diff = (7 + day_of_first_date - first_day_of_week) % 7 # -> empty column for _ in range(diff, 0, -1): - month_view += ("#"*(column_width - 1) + "-") + month_view += ("-" + "#"*(column_width - 1) ) # -> next days in the first week while day + diff <= 7: month_view += format_day(day, column_width) @@ -97,5 +97,5 @@ if __name__ == "__main__": month = int(sys.argv[1]) year = int(sys.argv[2]) - cal = build_calendar(month, year, 4) + cal = build_calendar(month, year, 5) print(cal) \ No newline at end of file -- Gitblit v1.10.0-SNAPSHOT