. . "In Python 3, where print is a function, a simple variant of that code will work." . .