x = "Deck the halls with boughs of holly" x
audrey.feldroy.com
The experimental notebooks of Audrey M. Roy Greenfeld. This website and all its notebooks are open-source at github.com/audreyfeldroy/audrey.feldroy.com
# Deck the Halls
by Audrey M. Roy Greenfeld | Tue, Dec 24, 2024
from fastcore.all import *
L("la")*8
def sing(): return L("Fa", *L("la")*8)
sing()
print("Tis the season to be jolly")
" ".join(sing())
repr("Don we now our gay apparel")
s = sing() s
"".join(s[0:3])
for i in range(0,3): print("".join(s[i:i+3]))
"Troll the ancient yuletide carol"
L(zip(s[0:5], s[1:5])) + 'la'
© 2024-2025 Audrey M. Roy Greenfeld