Salome HOME
Go on
[modules/yacs.git] / src / yacsloader / samples / forwhile1.xml
index 676f747527508987463c5de3d4975a4ee637806b..ef298d8a6120d60bd5689e7b89f93f1b411ac471 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+  Copyright (C) 2006-2019  CEA/DEN, EDF R&D
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -41,9 +41,9 @@
                   <code>def f(p1):</code>
                   <code>  global a</code>
                   <code>  p1= p1+10.</code>
-                  <code>  print "a:",a</code>
+                  <code>  print("a:",a)</code>
                   <code>  a=a+p1</code>
-                  <code>  print "p1:",p1</code>
+                  <code>  print("p1:",p1)</code>
                   <code><![CDATA[  condition=(p1 < 40.)]]> </code>
                   <code>  return p1,condition</code>
                 </function>