Updated formatting to look like the original program

This commit is contained in:
Alvaro Frias Garay
2022-01-04 15:15:02 -03:00
parent 873ca419e1
commit 6517975e25

View File

@@ -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)