Created
October 27, 2021 19:27
-
-
Save n1ckdm/33e73c2f1bfaf886fb7e7fdbb4cf3614 to your computer and use it in GitHub Desktop.
Random desserts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
_desserts = { | |
"AngelDelight": "๐+๐", | |
"AngelCake": "๐+๐ฐ", | |
"Amandine": "๐ซ๐ฐ", | |
"Bakewell": "๐+๐ง", | |
"Brownie": "๐ซ๐คy", | |
"Battenberg": "๐ฆ+๐ง", | |
"Cake": "๐ฐ", | |
"Cupcake": "๐ง", | |
"Cookie": "๐ช", | |
"ChocolateOrangeCake": "๐ซ+๐+๐ฐ", | |
"Doughnut": "๐ฉ", | |
"EatonMess": "๐+๐จ", | |
"EcclesCake": "๐ฅง+๐ฐ", | |
"Fudge": "๐ง+๐ง", | |
"Financier": "๐ฒ-๐ฐ", | |
"CarrotCake": "๐ฅ-๐ฐ", | |
"Gingerbread": "ginger-๐", | |
"Fruitcake": "๐๐๐ฅญ+๐ฐ", | |
"IceCream": "๐ง", | |
"Gateau": "๐", | |
"Genoise": "๐ง-o-๐s", | |
"HummingbirdCake": "๐ต+๐ฆ+๐ฐ", | |
"JaffaCake": "๐+๐ฐ", | |
"Kuchen": "๐ฉ๐ช-๐ฐ", | |
"Ladyfinger": "๐ฉ+๐ ", | |
"Lamington": "๐-ington", | |
"MaltLoaf": "๐พ+๐", | |
"Opera": "๐ถ", | |
"Panforte": "๐ณ+๐ฐ", | |
"Panettone": "๐ณ-e-๐ผ", | |
"RockCake": "๐ป+๐ฐ", | |
"RumBaba": "๐ธ+๐๐", | |
"Stollen": "๐ฎโโ๏ธ-๐ ", | |
"SwissRoll": "๐จ๐ญ+๐ฅ", | |
"Teacake": "โ+๐ฐ", | |
"Torte": "๐ซ+๐ฅง", | |
"Tiramisu": "โ+๐ฅ+๐ฐ", | |
"UpsideDownCake": "โ-๐ฐ", | |
"YuleLog": "๐-๐ฐ", | |
"ZugerKirschtorte": "๐ง+๐+๐ฐ" | |
} | |
def random_dessert() -> str: | |
key = random.choice(list(_desserts.keys())) | |
return f"{key} == {_desserts[key]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment