blob: 88554be4a01ccd7c1e4340f072b27bb57306ff89 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import cython
from cython.cimports.volume import cube
def menu(description, size):
print(description, ":", cube(size),
"cubic metres of spam")
menu("Entree", 1)
menu("Main course", 3)
menu("Dessert", 2)
|