Difference between revisions of "Introduction to Programming Week 11"

m (Summary)
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.

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.

See Also