I'm wrong or Will we fix the ducks limp?
Christopher Reimer
christopher_reimer at icloud.com
Fri Jun 3 22:50:47 EDT 2016
More information about the Python-list mailing list
Fri Jun 3 22:50:47 EDT 2016
- Previous message (by thread): I'm wrong or Will we fix the ducks limp?
- Next message (by thread): I'm wrong or Will we fix the ducks limp?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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() >>> print(s) HELLO WORLD This works in Python 3. Not sure if s.uppercase() was meant as an example for a different language. Chris R.
- Previous message (by thread): I'm wrong or Will we fix the ducks limp?
- Next message (by thread): I'm wrong or Will we fix the ducks limp?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list