Difference between revisions of "ClassExample2.py"

From dftwiki3
Jump to: navigation, search
(New page: --~~~~ <onlydft> <source lang="python"> #! /usr/bin/python # D. Thiebaut # Version 2, based on classExample.py # Solution 1 to exercise: # create a 3rd object that is the concatenation of...)
 
Line 1: Line 1:
 
--[[User:Thiebaut|D. Thiebaut]] 02:40, 26 January 2010 (UTC)
 
--[[User:Thiebaut|D. Thiebaut]] 02:40, 26 January 2010 (UTC)
 +
 +
;Exercise
 +
:Create a new version of [[ClassExample1.py]] such that we create a 3rd document which is the concatenation of the other two.  It is not acceptable to create docuClass( text1 + text2 )! (although it would be a good solution otherwise)
  
 
<onlydft>
 
<onlydft>

Revision as of 22:42, 25 January 2010

--D. Thiebaut 02:40, 26 January 2010 (UTC)

Exercise
Create a new version of ClassExample1.py such that we create a 3rd document which is the concatenation of the other two. It is not acceptable to create docuClass( text1 + text2 )! (although it would be a good solution otherwise)

...