Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Projet AP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thierno Abdoulaye Diallo
Projet AP
Commits
d21a8771
Commit
d21a8771
authored
2 months ago
by
diallo
Browse files
Options
Downloads
Plain Diff
Mise à jour des fonctions dans Plateau et Véhicule
parents
15b831b8
64ce4a77
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
class_plateau.py
+10
-0
10 additions, 0 deletions
class_plateau.py
with
10 additions
and
0 deletions
class_plateau.py
+
10
−
0
View file @
d21a8771
...
...
@@ -4,13 +4,18 @@ class Plateau():
Exemple(s) :
$$$
"""
<<<<<<<
HEAD
def
__init__
(
self
):
=======
def
__init__
(
self
,
taille
:
int
,
liste_vehicule
:
list
[
str
]):
>>>>>>>
64
ce4a778c741cb9288abea096edc173efe02ad2
"""
Initialise le plateau de la grille
Précondition :
Exemple(s) :
$$$
"""
<<<<<<<
HEAD
self
.
taille
=
(
6
,
6
)
self
.
liste_vehicule
=
[]
GRILLE_VIDE
=
[[
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
],[
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
],[
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
],[
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
],[
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
],[
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
,
'
'
]]
...
...
@@ -87,5 +92,10 @@ class Plateau():
=======
self
.
taille
=
taille
self
.
liste_vehicule
=
liste_vehicule
def
__initialiser_grille__
(
>>>>>>>
64
ce4a778c741cb9288abea096edc173efe02ad2
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment