mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 15:37:51 -08:00
Use docstrings
This commit is contained in:
@@ -1,24 +1,23 @@
|
||||
########################################################
|
||||
# Calendar
|
||||
#
|
||||
# From: BASIC Computer Games (1978)
|
||||
# Edited by David Ahl#
|
||||
#
|
||||
# This program prints out a calendar
|
||||
# for any year. You must specify the
|
||||
# starting day of the week of the year in
|
||||
# statement 130. (Sunday(0), Monday
|
||||
# (-1), Tuesday(-2), etc.) You can determine
|
||||
# this by using the program WEEKDAY.
|
||||
# You must also make two changes
|
||||
# for leap years in statement 360 and 620.
|
||||
# The program listing describes the necessary
|
||||
# changes. Running the program produces a
|
||||
# nice 12-month calendar.
|
||||
# The program was written by Geofrey
|
||||
# Chase of the Abbey, Portsmouth, Rhode Island.
|
||||
#
|
||||
########################################################
|
||||
"""
|
||||
Calendar
|
||||
|
||||
From: BASIC Computer Games (1978)
|
||||
Edited by David Ahl#
|
||||
|
||||
This program prints out a calendar
|
||||
for any year. You must specify the
|
||||
starting day of the week of the year in
|
||||
statement 130. (Sunday(0), Monday
|
||||
(-1), Tuesday(-2), etc.) You can determine
|
||||
this by using the program WEEKDAY.
|
||||
You must also make two changes
|
||||
for leap years in statement 360 and 620.
|
||||
The program listing describes the necessary
|
||||
changes. Running the program produces a
|
||||
nice 12-month calendar.
|
||||
The program was written by Geofrey
|
||||
Chase of the Abbey, Portsmouth, Rhode Island.
|
||||
"""
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
@@ -150,8 +149,6 @@ def main() -> None:
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
########################################################
|
||||
#
|
||||
########################################################
|
||||
#
|
||||
# Porting notes:
|
||||
|
||||
Reference in New Issue
Block a user