Make sure the print-statement is inside the for-loop, exactly as shown in the answer and it will print multiple lines. Also make sure you are using tabs and not spaces when indenting.
Ninfur | 2022-11-27 22:03
oh ok, thanks, it wasn’t inside the for-loop, problem solved.