how to comment multiple lines in python keyboard shortcut code example
Example 1: comment multiple lines in python shortcut
Ctrl+/
For Both:
Ctrl+K+C
to comment
Ctrl+K+U
To uncomment
Example 2: spyder - comment banch of codee
# Single line comment
Ctrl + 1
# Multi-line comment select the lines to be commented
Ctrl + 4
# Unblock Multi-line comment
Ctrl + 5