Question: how to comment in python using keyboard?
Answer: For commenting a line, bring the cursor to the line that you want to comment and press Alt+4. To uncomment an existing comment, press Alt+3.