logo

Crowdly

Programmation en Python IDSI21024 (202400-668)

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

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

chr="envers"

result=""

for car in chr:

xxxx

print(result)

Which code below should be used in place of the xxxx to get "srevne"

as output (the reverse of "envers")?

67%
0%
33%
33%
Переглянути це питання
What is a correct method to find statistical correlations between columns in a DataFrame?
0%
100%
0%
0%
Переглянути це питання
Which operator symbol is used by Python to assign values to variables?
0%
100%
0%
0%
Переглянути це питання
x="huit"

print(x[:])

print(x[0:4])

What is the difference between the outputs of two print?

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

When applied to a list, the count() method counts the number of times an occurence appears in the list.

For example:

[1,2,3,10,10].count(1) returns 1

[1,2,3,10,10].count(10) returns 2

[1,2,3,10,10].count(0) returns 0

We want to write a function that takes a list of integers and returns True when it contains exactly two occurences of the number 10 and at least three occurences of number 5, and False otherwise. What is the best way to replace xxxx in the following code to achieve our goal?

def test(list_nbs):

xxxx

75%
25%
0%
Переглянути це питання
I have a pandas dataframe named 'brics' with columns names given by 'country', 'capital', 'area' and 'population' and indices given by 'FR', 'IT' and 'UK'. I want to construct a dataframe made only of the rows in brics with countries' population larger than 50 millions. Which command should I use?
0%
33%
33%
33%
Переглянути це питання
I have a dataset in the form of a csv file. Which package should we use to work with these data in python?
0%
0%
0%
33%
Переглянути це питання
What is the ouput of the following code?

x = 15

x = x + 5

print(x)

0%
100%
0%
0%
Переглянути це питання
Comments are lines of text that subtly change the way a Python program runs.
100%
0%
Переглянути це питання
What’s the output of the following Python program?

'carl' < 'mike' and True != False

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

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

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