Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
INF-TC1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vuillemot Romain
INF-TC1
Merge requests
!1
Update INF-TC1-td02.ipynb
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
Update INF-TC1-td02.ipynb
tgicquel/inf-tc1:tgicquel-master-patch-00157
into
master
Overview
0
Commits
1
Changes
1
Open
Gicquel Thibaut
requested to merge
tgicquel/inf-tc1:tgicquel-master-patch-00157
into
master
1 year ago
Overview
0
Commits
1
Changes
1
0
0
Merge request reports
Compare
master
master (HEAD)
and
latest version
latest version
fd42da47
1 commit,
1 year ago
1 file
+
6
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
TD02/INF-TC1-td02.ipynb
+
6
−
1
View file @ 4ef3adc2
Edit in single-file editor
Open in Web IDE
Show full file
@@ -265,7 +265,12 @@
"outputs": [],
"source": [
"def average_grade(L: list)-> int:\n",
" # YOUR CODE HERE\n",
" if len(L) == 0:
return 'Pas de note disponible'
avg = 0
for i in range(len(L)):
avg += float(L[i]['note'])
return avg/len(L)\n",
" raise NotImplementedError()"
]
},
Loading