Skip to main content
3 of 4
edited body

Test to determine if language specifier is case-sensitive for this question

All lowercase:

```lang-python
for i in range(10):
    if i % 2:
        print(i)
```
for i in range(10):
    if i % 2:
        print(i)

All caps:

```LANG-PYTHON
for i in range(10):
    if i % 2:
        print(i)
```
for i in range(10):
    if i % 2:
        print(i)

Language name all caps:

```lang-PYTHON
for i in range(10):
    if i % 2:
        print(i)
```
for i in range(10):
    if i % 2:
        print(i)

All mixed caps:

```LaNg-PyThOn
for i in range(10):
    if i % 2:
        print(i)
```
for i in range(10):
    if i % 2:
        print(i)

Language name mixed caps:

```lang-PyThOn
for i in range(10):
    if i % 2:
        print(i)
```
for i in range(10):
    if i % 2:
        print(i)
cocomac
  • 16.4k
  • 6
  • 40
  • 92