On Sun, 31 Aug 2014 22:12:10 -0400, Ned Batchelder <n...@nedbatchelder.com> wrote:
>On 8/31/14 8:56 PM, Mark Lawrence wrote: >> On 01/09/2014 01:08, Seymore4Head wrote: >>> On Mon, 01 Sep 2014 00:21:14 +0100, Mark Lawrence >>> <breamore...@yahoo.co.uk> wrote: >>> >>>> On 31/08/2014 23:42, Seymore4Head wrote: >>>>> On Sun, 31 Aug 2014 22:38:12 +0100, Mark Lawrence >>>>> Unnecessary brackets? >>>>> I tried deleting the brackets and that doesn't seem to work. I tried >>>>> changing the brackets to parenthesizes and that didn't work. Although >>>>> I would prefer brackets to parenthesizes as you don't need shift to >>>>> type them. >>>>> >>>>>>> pigword = stem + prefix + "ay" >>>>>>> print ("Stem ",stem) >>>>>>> print ("Prefix",prefix) >>>>>>> print (pigword) >>>>>>> break >>>>>>> return (pigword) >>>> >>>> These ^ ^ >>> >>> Those are parenthesis :P >>> But not having to use them is a time saver. >>> Thanks >>> >> >> No they are round brackets, as opposed to square or curly. >> > >Even if they are also called round brackets, surely we can agree that >parentheses are an accurate term for ( and ). As a side note, I sometimes wish I had a separate keypad that had the shift key symbols as the base key. My keyboard has two built in USB slots that I have never used. I don't know if a programmer keypad would be a time saver or just more crap on a desk that has no room anyway. Since I don't ever expect to be able to type them without thinking about them, a standard keyboard could come with half sized keys on the sides. My keyboard is a Microsoft keyboard that has browser navigation buttons I never use. I would trade them for programming symbols. I do use the "calculator" button. -- https://mail.python.org/mailman/listinfo/python-list