logo

Crowdly

Programmation en Python IDSI21024 (202400-667)

Шукаєте відповіді та рішення тестів для Programmation en Python IDSI21024 (202400-667)? Перегляньте нашу велику колекцію перевірених відповідей для Programmation en Python IDSI21024 (202400-667) в moodle.essec.fr.

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

I have a pandas dataframe named 'brics' with columns names given by 'country', 'capital', 'area' and 'population'. I want to construct a pandas dataframe with the only two columns 'country' and 'capital'. Which command should I use?
100%
0%
0%
Переглянути це питання
You run an algorithm. You want to stop your algorithm when the error is less than 0.01. Which tool would you use?
0%
0%
0%
100%
Переглянути це питання

What is the output of the following code?

a, b, x, i = "3", 5, 0, 0

while b>2:

x+=2

b+=-1

print(x)

0%
25%
75%
0%
Переглянути це питання
When you have multiple lines in an if block, how do you indicate the end of the if block?
0%
0%
100%
0%
Переглянути це питання
When using the Pandas drop() method, what argument allows you to change the original DataFrame instead of returning a new one?
100%
0%
0%
0%
Переглянути це питання

chr="arbre"

cpt=0

for car in chr:

cpt+=1

print(cpt)

Which operation below does the same as the program above?

100%
25%
0%
Переглянути це питання
How do you start writing an if statement in Python?
0%
0%
0%
100%
Переглянути це питання

What will the following code print out?

x = 0

if x < 2:

print('Small')

elif x < 10:

print('Medium')

else:

print('LARGE')

print('All done')

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

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

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