I'm wrong or Will we fix the ducks limp?
On 6/3/2016 7:31 PM, Steven D'Aprano wrote:
> On Sat, 4 Jun 2016 09:06 am, Sayth Renshaw wrote:
>> I cant create a list with an append method pf.append(thing) in one go .
> Correct. You cannot append to a list until the list exists.
> Nor can you uppercase a string until the string exists:
> s = "hello world"
> s = s.uppercase()
>>> s = "hello world".upper()
This works in Python 3. Not sure if s.uppercase() was meant as an
example for a different language.