How to comment multiplelines by using hashtags in python?

How to comment multiple lines by using hashtags in python in an easier manner?

2 Likes

@alphywilson007

Select all lines that you want to comment and press ctrl +#.

1 Like

it is not working.
As my number 3 appears first by pressing the key

@alphywilson007

Which IDE you are using?

isn’t it selecting all lines and press ‘ctrl+?’

Select all lines then press “Ctrl + /”

1 Like