Demo


1a. Some term here. 1b. An explanation here.

2a. Another term. With long details. 2b. Another explanation. Along with some supporting information.

3a. JavaScript for loop 3b.

let str = '';

for (let i = 0; i < 9; i++) {
  str = str + i;
}

4a. C switch statement 4b.

#include <stdio.h>

int main() {
  int num = 2;
  
  switch(num) {
    case 1:
      printf("Choice is 1");
      break;
    case 2:
      printf("Choice is 2");
      break;
    default:
      printf("Choice other than 1 and 2");
      break;
  }
  return 0;
}

5a. Python list comprehension 5b.

squares = []

for x in range(10):
  squares.append(x**2)

# List comprehension is same as above
squares = [x**2 for x in range(10)]

6a. Point-slope formula 6b. \(y-y_{1}=m(x-x_{1})\)

7a. Summation notation 7b. \(\sum_{i=1}^{n}i=\frac{n(n+1)}{2}\)