Académique Documents
Professionnel Documents
Culture Documents
Niveau5 - ComprendreLesTableaux (Ce Fichier Est Partagé Dans Google Class)
Niveau5 - ComprendreLesTableaux (Ce Fichier Est Partagé Dans Google Class)
ipynb - Colaboratory
Remplir un Tableau :
Remplir un tableau par N entiers avec 5 <= N<=50 et afficher le nombre d'é lé ments pairs de t
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 1/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
#########################################
###### Sans modules ######
#########################################
#########################################
###### Avec modules ######
#########################################
#########################################
###### Avec modules ######
#########################################
#########################
# Programme principal #
#########################
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 2/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
#########################################
###### Avec modules ######
#########################################
#########################
# Programme principal #
#########################
#########################
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 3/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
# Programme principal #
#########################
t=[10,154,12,189,132,4,-9,45,78456,13201,6,1,0,657]
n=14
s=Somme(t,n)
print("La somme des éléments de t est=",s)
#########################################
###### Sans modules ######
#########################################
t=[10, 154, 12, 189, 132, 4, -9, 45, 78456, 13201, 6, 1, 0, 657]
n=14
#########################################
###### Avec modules ######
#########################################
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 4/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
#########################
# Programme principal #
#########################
t=[10, 154, 12, 189, 132, 4, -9, 45, 78456, 13201, 6, 1, 0, 657]
n=14
afficher(t,n)
t=[10, 154, 12, 189, 132, 4, -9, 45, 78456, 13201, 6, 1, 0, 657]
n=14
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 5/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
n=14
Activité 7 : Maximum
#########################################
###### Sans modules ######
#########################################
t=[10, 154, 12, 101, 132, -4, 7, 450, 78456, 13201, 6, -12, 163, 19]
n=14
#########################################
###### Avec modules ######
#########################################
def maximum(
#########################
# Programme principal #
#########################
t=[10, 154, 12, 101, 132, -4, 7, 450, 78456, 13201, 6, -12, 163, 19]
n=14
m=maximum(t,n)
Activité 8 : Minimum
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 6/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
#Programme principal
t=[10, 154, 12, 101, 132, -4, 7, 450, 78456, 13201, 6, -12, 163, 19]
n=14
#Programme principal
n=8
t=['M9a2', '53', 'Bcd', '2020', 'AePmnT', 'M9p2', 'BAC', '!, ?']
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 7/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
#Programme principal
n=8
t=['M9a2', '53', 'Bcd', '2020', 'AePmnT', 'M9p2', 'BAC', '!, ?']
#Programme principal
n=8
t=['M9a2', '53', 'Bcd', '2020', 'AePmnT', 'M9p2', 'BAC', '!, ?']
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 8/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
#Programme principal
n=8
t=['M9a2', '53', 'Bcd', '2020', 'AePmnT', 'M9p2', 'BAC', '!, ?']
n=8
t=['M9a2', '53', 'Bcd', '2020', 'AePmnT', 'M9p2', 'BAC', '!, ?']
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 9/10
31/05/2022 12:17 Niveau5_ComprendreLesTableaux.ipynb - Colaboratory
n=9
t=[85,36,-84,-56,2,13,-47,-24,1785]
https://colab.research.google.com/drive/1FywEtcnskKmhT8rt7x2XQ6SR5S4849x5#printMode=true 10/10