logo

Crowdly

Browser

Додати до Chrome

[25-26] Algorithmique avancée 2 [S3] [SPE]

Шукаєте відповіді та рішення тестів для [25-26] Algorithmique avancée 2 [S3] [SPE]? Перегляньте нашу велику колекцію перевірених відповідей для [25-26] Algorithmique avancée 2 [S3] [SPE] в moodle.esme.fr.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Let’s consider the following list:

liste = ["maths", "info", "python", "exposants", "alpha", "fonctions", "parabole", "equilateral", "orthogonal", "cercles", "isocèle"

]

What should replace -- to display the string isocèle?

print

(liste[--])

Note: Do not rewrite the entire print statement — just give the value of --.

Переглянути це питання

Given the following list:

 liste=["maths", "info", "python", "exposants", "alpha", "fonctions", "parabole", "equilateral", "orthogonal", "cercles", "isocèle" ]

What does print(liste[4]) output?

0%
0%
0%
0%
Переглянути це питання

What does the following code display?

t=[ ]

i=1

for i in range (1,20,2):

t.append(i)

print (t)

0%
0%
0%
Переглянути це питання

Which statement allows you to display the last element of a list L?

Note: multiple answers are possible.

0%
0%
0%
0%
0%
0%
0%
Переглянути це питання

What is the output of the following nested <code>for</code> loop

nombres = [

10, 20

]

articles = [

"Chaises", "Tables"

]

for x in nombres:

  for y in articles:

    print(x, y)

Переглянути це питання
For

lst = [10,20,30,40,50,60,70,80]

What does

lst[1:7:3] return?
0%
0%
0%
0%
Переглянути це питання
With

lst = ['x','y','z']

What does

lst[3:0:-1] return?
0%
0%
0%
0%
Переглянути це питання
For the list:

lst = ['a','b','c','d','e','f','g']

Which expression returns the reversed list?

0%
0%
0%
0%
Переглянути це питання
Given

lst = [1,2,3,4,5,6,7,8,9]

What does

lst[-5:-1] return?
0%
0%
0%
0%
Переглянути це питання
For

lst = [0,1,2,3,4,5,6]

What does

lst[::2] return?
0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.esme.fr?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome