Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
364204affd8dd7e07e30248eb3c751a8
mooc-rr
Commits
55a394fa
Commit
55a394fa
authored
Oct 25, 2023
by
364204affd8dd7e07e30248eb3c751a8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed sum to average
parent
95d83a04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
exercice.ipynb
module2/exo2/exercice.ipynb
+3
-3
No files found.
module2/exo2/exercice.ipynb
View file @
55a394fa
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1
0
,
"execution_count": 1
1
,
"metadata": {
"metadata": {
"scrolled": true
"scrolled": true
},
},
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
"name": "stdout",
"name": "stdout",
"output_type": "stream",
"output_type": "stream",
"text": [
"text": [
"
Sum: 1411.3000000000002
\n",
"
Avg: 14.113000000000001
\n",
"Min: 2.8\n",
"Min: 2.8\n",
"Max: 23.4\n",
"Max: 23.4\n",
"Median: 14.5\n",
"Median: 14.5\n",
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
"source": [
"source": [
"from numpy import *\n",
"from numpy import *\n",
"\n",
"\n",
"print(f\"
Sum: {sum
(data)}\")\n",
"print(f\"
Avg: {average
(data)}\")\n",
"print(f\"Min: {min(data)}\")\n",
"print(f\"Min: {min(data)}\")\n",
"print(f\"Max: {max(data)}\")\n",
"print(f\"Max: {max(data)}\")\n",
"print(f\"Median: {median(data)}\")\n",
"print(f\"Median: {median(data)}\")\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment