mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
Updated formatting to look like the original program
This commit is contained in:
@@ -58,6 +58,7 @@ def calendar(weekday, leap_year):
|
||||
print(" {}".format(d2), end=' ')
|
||||
else:
|
||||
print("{}".format(d2), end=' ')
|
||||
print()
|
||||
|
||||
if d2 >= months_days[n]:
|
||||
break
|
||||
@@ -67,6 +68,8 @@ def calendar(weekday, leap_year):
|
||||
|
||||
print("\n")
|
||||
|
||||
print("\n")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
calendar(-6, False)
|
||||
|
||||
Reference in New Issue
Block a user