Skip to content

Commit ef835e8

Browse files
committed
Added 3 Tasks
1 parent 6201700 commit ef835e8

3 files changed

Lines changed: 119 additions & 1 deletion

File tree

Tasks/0001.ipynb

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,46 @@
1-
1+
{
2+
"cells": [
3+
{
4+
"attachments": {},
5+
"cell_type": "markdown",
6+
"metadata": {},
7+
"source": [
8+
"# Task 0001\n",
9+
"\n",
10+
"**Accept a number from the user, and return the value in reverse order.**\n",
11+
"Levels below : (by iGnani ---- Telegram: @python_programmers_club)\n",
12+
"\n",
13+
"1. Input: 123456 --- Output: 654321\n",
14+
"2. Input: -987654 --- Output: -456789\n",
15+
"3. Input: 12.34 --- Output: 21.34\n",
16+
"4. Input: -12.34 --- Output: -21.34\n",
17+
"5. Input: abc (NonNum) --- Output: Only Number accepted!\n",
18+
"6. Input: 12,34,567 --- Output: 76,54,321\n",
19+
"7. Input: -12,34,567 --- Output: -76,54,321\n",
20+
"8. Input: 12,34,567.89 --- Output: 76,54,321.98\n",
21+
"9. Input: -12,34,567.89 --- Output: -76,54,321.98"
22+
]
23+
}
24+
],
25+
"metadata": {
26+
"kernelspec": {
27+
"display_name": "Python 3",
28+
"language": "python",
29+
"name": "python3"
30+
},
31+
"language_info": {
32+
"codemirror_mode": {
33+
"name": "ipython",
34+
"version": 3
35+
},
36+
"file_extension": ".py",
37+
"mimetype": "text/x-python",
38+
"name": "python",
39+
"nbconvert_exporter": "python",
40+
"pygments_lexer": "ipython3",
41+
"version": "3.7.0"
42+
}
43+
},
44+
"nbformat": 4,
45+
"nbformat_minor": 2
46+
}

Tasks/0002.ipynb

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"cells": [
3+
{
4+
"attachments": {},
5+
"cell_type": "markdown",
6+
"metadata": {},
7+
"source": [
8+
"# Task 0002\n",
9+
"\n",
10+
"**Accept a number from the user and return**\n",
11+
"1. Sum of all natural numbers that are multiples of 5,7 less than the number entered by the user. <br>\n",
12+
" Example --- Input: 15 --- 5, 7, 10, 14 and return 36"
13+
]
14+
}
15+
],
16+
"metadata": {
17+
"kernelspec": {
18+
"display_name": "Python 3",
19+
"language": "python",
20+
"name": "python3"
21+
},
22+
"language_info": {
23+
"codemirror_mode": {
24+
"name": "ipython",
25+
"version": 3
26+
},
27+
"file_extension": ".py",
28+
"mimetype": "text/x-python",
29+
"name": "python",
30+
"nbconvert_exporter": "python",
31+
"pygments_lexer": "ipython3",
32+
"version": "3.7.0"
33+
}
34+
},
35+
"nbformat": 4,
36+
"nbformat_minor": 2
37+
}

Tasks/0003.ipynb

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Task 0003\n",
8+
"\n",
9+
"**In an array, that has been sorted in ascending order, but has been cyclically shifted, find the element that has the minimum element.<br>\n",
10+
"`Example, [5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4]`<br>\n",
11+
"Write an algorithm that optimally finds the minimum element in such an array.**\n"
12+
]
13+
}
14+
],
15+
"metadata": {
16+
"kernelspec": {
17+
"display_name": "Python 3",
18+
"language": "python",
19+
"name": "python3"
20+
},
21+
"language_info": {
22+
"codemirror_mode": {
23+
"name": "ipython",
24+
"version": 3
25+
},
26+
"file_extension": ".py",
27+
"mimetype": "text/x-python",
28+
"name": "python",
29+
"nbconvert_exporter": "python",
30+
"pygments_lexer": "ipython3",
31+
"version": "3.7.0"
32+
}
33+
},
34+
"nbformat": 4,
35+
"nbformat_minor": 2
36+
}

0 commit comments

Comments
 (0)