Jan-13-2019, 11:04 AM
Some observations:
input() is more readable and concise when used with argument:
input() is more readable and concise when used with argument:
>>> first = input('Choose the first one: ') Choose the first one:In order to get spaces between choices you don't need to enter empty strings. Same result can be achieved by adding space at the end of string or writing it in one string with double spaces:
>>> print("milk", "", "sugar", "", "tea", "", "coffee") milk sugar tea coffee >>> print('milk ', 'sugar ', 'tea ', 'coffee') milk sugar tea coffee >>> print('milk sugar tea coffee') milk sugar tea coffee
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.