- print 'Unexpected input'
- print 'Usage gen_sound <freq> [<length>] [<volume>]'
- print ' where <freq> is the frequency in Hz (int)'
- print ' [<length>] is the time in seconds (float) - default 0.25'
- print ' and [<volume>] is the volume (integer between 0 and 127) - default %s' % MAX
+ print ('Unexpected input')
+ print ('Usage gen_sound <freq> [<length>] [<volume>]')
+ print (' where <freq> is the frequency in Hz (int)')
+ print (' [<length>] is the time in seconds (float) - default 0.25')
+ print (' and [<volume>] is the volume (integer between 0 and 127)'
+ ' - default %s' % DEFAULT_VOL)