Difference between revisions of "Introduction to Programming Week 11"
(Created page with "==Summary== Just like last week, we've been working primarily on our Large Pass the Pigs project. See the transcript for details. Otherwise, the only thing new this week is some...") |
m (→Summary) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Summary== | ==Summary== | ||
− | Just like last week, we've been working primarily on our | + | Just like last week, we've been working primarily on our large [[Pass the Pigs]] project. See the transcript for details. |
Otherwise, the only thing new this week is something called [[string formatting]]. The usual way to combine [[string]]s is with concatenation, but Python also provides string formatting, which is sometimes more flexible. Neither is strictly better than the other, use whichever you prefer. | Otherwise, the only thing new this week is something called [[string formatting]]. The usual way to combine [[string]]s is with concatenation, but Python also provides string formatting, which is sometimes more flexible. Neither is strictly better than the other, use whichever you prefer. |
Latest revision as of 18:15, 3 September 2011
Summary
Just like last week, we've been working primarily on our large Pass the Pigs project. See the transcript for details.
Otherwise, the only thing new this week is something called string formatting. The usual way to combine strings is with concatenation, but Python also provides string formatting, which is sometimes more flexible. Neither is strictly better than the other, use whichever you prefer.