Hello Everyone!
I’ve come across a few problems while using my Mac and going through the python course. Like Key shortcuts not working. I’m on a Germany QWERTZ Keyboard and things like commenting with CMD + / aren’t working. (I also tried CMD + Shift + 7, still no dice)
Is there any work around to effectively comment out code on a German Mac?
Can’t you just comment out code in Python by using the “#” sign? I’m not sure why you’d need a shortcut for that…?
#this is a comment
I was more so thinking of Multi-line commenting. Like commenting out an entire block of code.
For that use triple quotes:
'''
this is a multi-line comment
'''
See:
1 Like
Hi,
this question was never answered since it seems that the question was not understood.
When you use an US keyboard, you can mark multiple lines and comment them out (or in again) with ctrl + \ in the course interface.
In IDEs I tried, it works because it’s ALT + 3 or ALT + 4 for example.
Anyway, on a german keyboard you have to use the Alt Gr key to create a .
If you mark your code and then press ctrl + alt Gr + 'key for ' your code disappears and only a \ remains.
So, can it be that there is no way to use the Codecademy interface with a german keyboard layout or is there a way?
Thank you!