Let's say that I have the following simple code in pycharm editor.
dataframe = [1 , 12, 2,1 ,21,3 ,21,312,1 ,1,1 , 12, 2,1 ,21,3 ,
21,312,1 ,1, 2121]
in order to execute them, I have to select both lines (highlight them) and then press the keys Alt + Shift + E.
I am wondering if there is any other way, or settings to execute both lines without selecting them, but just press the key combination when the cursor is in one of the two lines, as it happens in R