Salome HOME
[PY3] 2to3 results
[modules/smesh.git] / doc / salome / examples / quality_controls_ex05.py
index cbd2178391639e24954293f4a1508252f8938321..7d60b91ac21bc0184b83b109cad072d4a922878b 100644 (file)
@@ -42,13 +42,13 @@ aGroup = mesh.CreateEmptyGroup(SMESH.NODE, "Free_nodes")
 aGroup.Add(anNodeIds)
 
 # print the result
-print "Criterion: Free nodes Nb = ", len(anNodeIds)
+print("Criterion: Free nodes Nb = ", len(anNodeIds))
 j = 1
 for i in range(len(anNodeIds)):
-  if j > 20: j = 1; print ""
-  print anNodeIds[i],
+  if j > 20: j = 1; print("")
+  print(anNodeIds[i], end=' ')
   j = j + 1
   pass
-print ""
+print("")
 
 salome.sg.updateObjBrowser(True)