Skip to content

Commit 7db51b8

Browse files
committed
Fix conflict
Merge branch 'master' of github.com:akshatgit/Sticky-Notes
2 parents 7198ad9 + d0c3f30 commit 7db51b8

9 files changed

Lines changed: 37 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,7 @@ You can also sepcify the path to your repo and custom path for your todo.md file
6969
stickynotes -d /path/to/your/repo -o /path/to/todo_file_name.md
7070
7171
```
72+
73+
## Cite
74+
75+
- [Language extension](https://gist.github.com/aymen-mouelhi/82c93fbcd25f091f2c13faa5e0d61760) by Aymen Mouelhi
-163 Bytes
Binary file not shown.
-147 Bytes
Binary file not shown.
-160 Bytes
Binary file not shown.
-1.45 KB
Binary file not shown.
-152 Bytes
Binary file not shown.
-2.6 KB
Binary file not shown.

tests/example.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Example</title>
5+
</head>
6+
<body>
7+
<p>This is an example of a simple HTML page with one paragraph.</p>
8+
<!-- TODO This is HTML demo -->
9+
</body>
10+
</html>

tests/example.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Program to check if a number is prime or not
2+
3+
num = 407
4+
5+
# To take input from the user
6+
#num = int(input("Enter a number: "))
7+
8+
# prime numbers are greater than 1
9+
if num > 1:
10+
# check for factors
11+
# TODO Optimise for loop
12+
for i in range(2,num):
13+
if (num % i) == 0:
14+
print(num,"is not a prime number")
15+
print(i,"times",num//i,"is",num)
16+
break
17+
else:
18+
print(num,"is a prime number")
19+
20+
# if input number is less than
21+
# or equal to 1, it is not prime
22+
else:
23+
print(num,"is not a prime number")

0 commit comments

Comments
 (0)