On Sat, Jan 16, 2016 at 8:47 PM, Alister <alister.w...@ntlworld.com> wrote: >> >> default = "I like Brussels sprouts." >> message = random.choice(["", "I like boiled cabbage."]) >> print( message or default ) >> >> >> > I hope I never see production code like that >
I agree. If you are going to use spaces after '(' and before ')' at least be consistent. -- Bernardo Sulzbach -- https://mail.python.org/mailman/listinfo/python-list