A formula: , and a display one:

first = input("Name? ")
second = input("Colour? ")
print("Hello,", first, "who likes", second)
for i in range(3):
    print(i * i)

A static block for comparison:

def square(n: int) -> int:
    # a comment
    return n * n  # "string" 42
print(square(7))
import time
while True:
    time.sleep(0.1)
let name = readLine() ?? ""
print("Hello, \(name)!")

Go to Video Check.