Mega Code Archive

 
Categories / Python Tutorial / Introduction
 

Multiple Statements on a Single Line ( ; )

import sys; x = 'foo'; sys.stdout.write(x + '\n')