Use docstrings

This commit is contained in:
Martin Thoma
2022-04-02 07:58:37 +02:00
parent c500424956
commit 4b3b991273
12 changed files with 268 additions and 323 deletions

View File

@@ -1,24 +1,22 @@
######################################################################
#
# LOVE
#
# From: BASIC Computer Games (1978)
# Edited by David H. Ahl
#
# "This program is designed to reproduce Robert Indiana's great art
# work 'Love' with a message of your choice up to 60 characters long.
#
# "The [DATA variable is] an alternating count of the number
# of characters and blanks which form the design. These data give
# the correct proportions for a standard 10 character per inch
# Teletype or line printer.
#
# "The LOVE program was created by David Ahl."
#
#
# Python port by Jeff Jetton, 2019
#
######################################################################
"""
LOVE
From: BASIC Computer Games (1978)
Edited by David H. Ahl
"This program is designed to reproduce Robert Indiana's great art
work 'Love' with a message of your choice up to 60 characters long.
"The [DATA variable is] an alternating count of the number
of characters and blanks which form the design. These data give
the correct proportions for a standard 10 character per inch
Teletype or line printer.
"The LOVE program was created by David Ahl."
Python port by Jeff Jetton, 2019
"""
# Image data. Each top-level element is a row. Each row element