Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asweigart/PythonStdioGames
/ diamonds.py
File
diamonds.py
src/gamesbyexample/diamonds.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
r
""
"Diamonds, by Al Sweigart al@inventwithpython.com
2
Draws diamonds of various sizes.
3
View this code at https://nostarch.com/big-book-small-python-projects
4
/\ /\
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected