2. Translate these two ways to view the function calls. For example,
' '.join(things)reads as, “Join things with ‘ ‘ between them.” Meanwhile,
join(' ', things)means, “Call join with ‘ ‘ and things.” Understand how they are really the same thing.
- Exercise 38. Doing Things to Lists
- from Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code, Third Edition, ...
- Publisher: Addison-Wesley Professional
- Released: October 2013
Share this highlighthttp://www.safaribooksonline.com/a/learn-python-the/3001/