You can also search for Lazarus. It's an incredible IDE for Pascal with a bunch of interesting ADDons like buttons, input fields and more.
{Hello world in Pascal}
program HelloWorld(output);
begin
WriteLn('Hello World!');
end.
def PascalTriangle(n):
trow = [1]
y = [0]
for x in range(n):
print(trow)
trow=[left+right for left,right in zip(trow+y, y+trow)]
return n>=1