Rotate your device.
Turn off orientation lock in device settings.

1112111
Immersive Reader

Try writing your function again. Is it still helpful? How can you make it work for this puzzle?

2
Blocks
Workspace
:
1
/ 10 blocks
Actions
Loops
Conditionals
Functions
Comments
when run