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)
Line 1: Line 1:
 
==Summary==
 
==Summary==
Just like last week, we've been working primarily on our Large Pass the Pigs project. See the transcript for details.
+
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.

Revision as of 18:14, 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.

See Also