logo

Crowdly

Програмування

Looking for Програмування test answers and solutions? Browse our comprehensive collection of verified answers for Програмування at exam.nuwm.edu.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Що виведе наступний код:

def fun(d, k, v):

    d.update({k:v})

    return d

dc = {}

print(fun(dc, "1", "v"))

View this question

Чому дорівнюватиме змінна а?

x=10

y=1

a= y**2 if (x<y) else pow((x-4),y)

View this question

Виберіть з переліченого методи допустимі для словників:

0%
0%
0%
View this question

У змінній letters міститься список ['a', 'b', 'c', 'd']. Яке значення виразу letters[:2]

View this question

Чому дорівнюватиме змінна а?

x=3

y=11

a= y**2 if (x>y) else pow((x-4),y)

View this question

Чому дорівнюватиме змінна у?

x=2

if x<=3 and x>0:

    y=pow(x,2)

else:

    y=abs(x)

View this question

до False (хибність) прирівнюються наступні значення

View this question

Що виведе наступний код:

def fun(*args, **kwargs):

    print(args, kwargs)

    

fun(2, True, arg=1, message='hello')

View this question

Яке значення прийме min

x=3

y=2

min = x if (x > y) else y

View this question

В якому рядку допущено помилку?

1) a=[1,2,3]

2) a[0:3]=10,20,30,40

3) a.append(50)

4) a.add(60)

5) print(a)

View this question

Want instant access to all verified answers on exam.nuwm.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!