Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
student1 = "Micheal"
student2 = "MIchele"
student3 = "Melchior"
student4 = "Mathieu"
print (student1,",", student2,",", student3,",", student4)

#Create a list
students = ["Micheal", "MIchele", "Melchior", "Mathieu"]
age = [15, 13, 12, 12]

# Print list size
print ("taille de students = "+str(len(students)))

# Print list content
print (students)

#print (students[1])

for x in 1,2,3:
  print (students[x])