Files
WL/examples/loop.wl
T

18 lines
262 B
Mathematica

let items = ['Apple', 'Orange', 'Strawberry']
let list =
<ul>
\for item in items:
<li>\{escape item}</li>
</ul>
<html>
<head>
<title>Fruit List</title>
</head>
<body>
My list:
\{list}
</body>
</html>