diff --git a/examples/ConstantCosmoVolume/makeIC.py b/examples/ConstantCosmoVolume/makeIC.py
index 84ba2a55bdc5eb07a7c041e8255f7a5fec0cff07..d63cb34299017380795b302115ae69b3af22b088 100644
--- a/examples/ConstantCosmoVolume/makeIC.py
+++ b/examples/ConstantCosmoVolume/makeIC.py
@@ -65,7 +65,7 @@ glass.close()
 # Total number of particles
 numPart = size(pos)/3
 if numPart != numPart_1D**3:
-  print "Non-matching glass file"
+  print("Non-matching glass file")
 numPart = numPart_1D**3
 
 # Set box size and interparticle distance