Italic
Bold
Bold and Italic
Strikethrough
==Highlight==
Link+ that opens in a new tab
and a link that doesn't.
You can write in a subscript.
pip install prime_test
will install the pip module called prime_test
.
This is a primality test:
# comment
import random
def test(n, k = 40):
if n < 2 or (n % 2 == 0 and n > 2): return False
if n in [2, 3]: return True
s = n - 1
for _ in range(k):
a = random.randrange(2, n - 1)
x = pow(a, s, n)
if x in [1, -1]:
continue
else:
return False
return True
This is one blockquote.
Me ko tētahi atu tēnei
Unordered list:
- Thing
- Other thing
- And another thing
You can also do ordered ones:
- Mea tahi
With some stuff underneath that's on a new lines.
- Mea rua
- Me ohomauri ohomauri... mea toru!
| Column 1 | Column 2 | Column 3 | | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 |
And of course, normal paragraphs.