Removed semicolons in python code