Simple question in Pycharm

Untitled11

I want to ask how to include some lines of coding within two lines like what is in the picture.

I don’t understand what you’re asking - just put the code between those lines if that’s what you want.

Otherwise, please explain exactly what you’re trying to do, what you’re trying to achieve.

are you asking about code folding?
on Mac it is,
command + to expand
command - to collapse

on Windows it might be
control + to expand
control - to collapse